Example:
- Build [*jenkins_job_1*]: calls an test.py python script with job build ID 1
- Build [*jenkins_job_1*]: calls an test.py python script with job build ID 2
- repeat as necessary
- each instance of the job runs simultaneously, rather than through a queue.
- when any one of the job is terminated, say job build 2, the job build 1 also gets terminate
node("test") {
stage('Hello') {
echo 'Hello World'
dir('/home/')
}
}
Below is