I have a jenkins job that do build and deploy the maven project. The job depends on few parameters that I pass to the job. This job also checks out the code from git repository.
I have 4 branches ( dev, test, release and patch) as the source code of the project.
How can I run the same job with different parameters and different source code of the project.
Example : - let say we triggered the job to run by passing param1 and param2 to the job and using the dev branch.
- taking into consideration that the run from step 1 hasn't completed , how can I trigger the same job by passing param3 and param4 but using test branch this time
I want to do different build from different source branches from the same job in parallel .
Any other suggested design ?