How to configure jenkins multi-configuration build and test -
i need build , test on multiple configurations: linux, osx , solaris. have slave nodes labeled "linux", "osx" , "solaris". on each configuration, want (a) build (b) run smoke tests (c) if smoke tests pass, run full tests, , perhaps more.
i thought multi-configuration jobs might answer, setup multi-configuration build job , starts concurrent builds on each os. build job trigger downstream smoke-test build, which, in turn, triggers full-test job.
i've run following issues
if 1 of configurations fails, job whole fails, , jenkins not fire downstream jobs (e.g., if solaris build fails, jenkins not run smoke tests or full tests osx , linux).
the solaris build takes twice long others (on order of hour), , i'd prefer linux , osx smoke tests not wait solaris build finish.
does mean i'm left hand-crafting 3 pipelines of jobs, , putting them behind "start-all" job (i.e., creating , hand-chaining following jobs)?
build-linux smoke-test-linux full-test-linux build-osx smoke-test-osx full-test-osx build-solaris smoke-test-solaris full-test-solaris
did miss obvious?
as far know answer create 3 matrix jobs, 1 each system. have 3 subjobs (build, smoke-test, fulltest) build-job touchstone.
Comments
Post a Comment