Groups
Groups
Sign in
Groups
Groups
Jenkins Users
Conversations
About
Send feedback
Help
Start other Job from Jenkinsfile or wait until other job is finished
26 views
Skip to first unread message
David Koenig
unread,
Aug 5, 2020, 9:55:11 AM
8/5/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 Jenkins Users
Hi,
i want to start another Jenkinsjob from within my declarative Jenkinsfile. I do that with following command:
build
job
:
'My-gitea-org/my-gitea-repo2/master'
,
wait
:
true
This sub-job (
my-gitea-repo2
) will be triggered by several other jobs. So i want to check if the sub-job is currently running and i want to wait in my main job until its finished and then start the sub-job. Is that possible?
Regards
Dave
Reply all
Reply to author
Forward
0 new messages