Giter Club home page Giter Club logo

gaga's Introduction

  • 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:

    1. run the build script, and get the tests name
    2. run all the tests in parallel, after the build finish
    3. the build.py & test.py should not be changed
    4. before each shell invocation you should print "going to run "
    5. after each failed shell invocation you should print "cmd: failed"
    6. after each successful shell invocation you should print "cmd: succeeded"
    7. 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
    8. if one of the tests has failed the job should still pass
    9. THe job should have get a number as param (by default 2)
    10. 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
    11. the sum of the from step 8 should be written to some file and the file should be archived

gaga's People

Contributors

solashran avatar

Watchers

 avatar  avatar

Forkers

gkirok

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.