batch file - run jenkins parallel job and wait from different servers -
I need build and deployment using Jenkins but I have to design for this work flow.
Job 1 (primary build from a server). ------ & gt; Job A (Deployed) | ------ & gt; Job B (Deployed) Job 2 (Made from Delta B server). ------ & gt; Job C (Deployed). ------ & gt; Job D (Deployed) Job 3 (This job should be successful on ABCD)
As a build in two servers, Job 1 and Job 2 are configured in 2 servers. I have jobs which are JOJ 1 & amp; 2, how can we achieve the job execution of 3.
Any thoughts?
Or it can be configured like this
JOB Main - | | --- & gt; Job 1 (primary build from a server). ------ & gt; Job A (Deployed) | ------ & gt; Job B (Deployed). --- & gt; Job 2 (Made from Delta B server). ------ & gt; Job C (Deployed). ------ & gt; Job de (deployed) | --- & gt; Job-3 (Jobs 1, 2 and Job completion of ABCD)
Screen shots will be useful.
Thanks in advance.
In fact it is an easy way to do without using any specific plugin.
You can create a special file for your job
JobA_Success.txt,
JobB_Success.txt,
JobC_Success.txt and < / P>
On completion of execution like JobD_Success.txt
job chief | - & gt; Job 1 (Job A and Job B) runs job 3 after execution - & gt; Job 3 (Job C and Job D) runs after Job executes job 3 -> Jobs 3 - & gt; Uses a script trigger that will check all 4 text files to be present and will only appear if it is not created otherwise.
This is just a logical idea, hope it is useful
Comments
Post a Comment