Build step and multibranch job

21 views
Skip to first unread message

Samuel Mutel

unread,
Mar 1, 2018, 5:42:21 AM3/1/18
to Jenkins Users
Hello,

I would like to start a multibranch job from another job in a jenkinsfile.
So I put this piece of code:

build(
  job: 'CIO-CICD/universe',
  wait: false
)

But it does not seems to work correctly ...
Any idea? How to specify the branch name?

Thanks.

Victor Martinez

unread,
Mar 1, 2018, 9:45:57 AM3/1/18
to Jenkins Users

Victor Martinez

unread,
Mar 1, 2018, 9:46:51 AM3/1/18
to Jenkins Users

Samuel Mutel

unread,
Mar 1, 2018, 9:56:18 AM3/1/18
to Jenkins Users
The second one is working fine.
I forgot to specify the branch name.
Here is the piece of code:

build(
 job: 'CIO-CICD/universe/master',
 wait: false
)

Thanks !
Reply all
Reply to author
Forward
0 new messages