Pipeline project to execute Jobs parallely using groovy scripting

15 views
Skip to first unread message

Jaya Bala

unread,
May 22, 2017, 8:35:43 AM5/22/17
to Jenkins Users

Hi Team,

I am a fresher in using Jenkins and I have been assigned to a  task where I need to run jobs parallel in pipeline. I have 2 projects lets say A& B. My pipeline project is C.I need to run Project A& B in my pipeline Project “C” using groovy scripting.My client did not want to use any plugins to support.I just want to execute the builds parallel using groovy scripting.

My pipeline scripting is below,

stage 'Parallel Pipeline Testing'

 parallel A: {

    //A

    echo ‘A Category'

    build job:X/Y /Z Jobs/A'

}, B: {

    //B

    echo ‘B Category'

    build job:’ X/Y /Z Jobs/A'

Jeeva Chelladhurai

unread,
May 22, 2017, 9:25:51 AM5/22/17
to jenkins...@googlegroups.com
What are those projects (A&B)? Are they two repositories or another to Jenkins jobs? 

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6f758864-dea4-4ce7-86ad-eb43ebf9e1d9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jeeva K S Chelladhurai

Reply all
Reply to author
Forward
0 new messages