-
In this repo given the build.py & test.py executables
-
The build.py - simulated a build of artifacts, and print to stdout a list (json) of tests that need to run
-
The test.py - simulate running a test after the build phase, the test.py can get a test name as argument, can be only from the names build.py produced some of the tests can fail, each test run also print some number to stdout
-
You need to write a jenkins pipeline (scripted) code that:
- run the build script, and get the tests name
- run all the tests in parallel, after the build finish
- the build.py & test.py should not be changed
- before each shell invocation you should print "going to run "
- after each failed shell invocation you should print "cmd: failed"
- after each successful shell invocation you should print "cmd: succeeded"
- after each cmd you should check how much time the cmd took, if it took morethan 30 seconds you should print something to indicate that
- if one of the tests has failed the job should still pass
- THe job should have get a number as param (by default 2)
- after all tests were run you calculate the sum of all the numbers that failed tests printed, if the sum is not divided by the param you should fail the job
- the sum of the from step 8 should be written to some file and the file should be archived
gaga's Introduction
gaga's People
Forkers
gkirokRecommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.