[JIRA] (JENKINS-60928) Terminates the running jobs running from same instance using concurrent builds via pipline

3 views
Skip to first unread message

prabhu_goudam@hotmail.com (JIRA)

unread,
Jan 30, 2020, 11:58:03 PM1/30/20
to jenkinsc...@googlegroups.com
prabhu goud created an issue
 
Jenkins / Bug JENKINS-60928
Terminates the running jobs running from same instance using concurrent builds via pipline
Issue Type: Bug Bug
Assignee: Unassigned
Components: pipeline
Created: 2020-01-31 04:57
Environment: OS: Ubuntu
Labels: jenkins
Priority: Minor Minor
Reporter: prabhu goud

Example:

  1. Build [*jenkins_job_1*]: calls an test.py python script with job build  ID 1
  2. Build [*jenkins_job_1*]: calls an test.py python script with job build ID 2
  3. repeat as necessary
  4. each instance of the job runs simultaneously, rather than through a queue.
  5. 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/')

{ def exec = sh label: 'test',returnStatus: true, script: """python test.py""" }

}

}

 

Below is

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages