Groups
Groups
Sign in
Groups
Groups
Jenkins Issues
Conversations
About
Send feedback
Help
[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 PM
1/30/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkinsc...@googlegroups.com
prabhu goud
created
an issue
Jenkins
/
JENKINS-60928
Terminates the running jobs running from same instance using concurrent builds via pipline
Issue Type:
Bug
Assignee:
Unassigned
Components:
pipeline
Created:
2020-01-31 04:57
Environment:
OS: Ubuntu
Labels:
jenkins
Priority:
Minor
Reporter:
prabhu goud
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/')
{ def exec = sh label: 'test',returnStatus: true, script: """python test.py""" }
}
}
Below is
Add Comment
This message was sent by Atlassian Jira
(v7.13.6#713006-
sha1:cc4451f
)
Reply all
Reply to author
Forward
0 new messages