CSIA AN
asked on
How to trigger a JOB on jenkins using a specific URL as Repository URL on Source Code Management?
Let me see if you understand me well.
We have a job on jenkins configured with one Repository URL pointing to a fixed SVN repository URL. This JOB is executed when there're changes (commits, updates, ect) on the SVN reposotory. Everything is good.
But, now there're more than one developer creating new branches on the same repository. See image attached. What if developer of branch 8, wants to test its code by running the JOB on jenkins if he can not change Repository URL of the JOB inside jenkins?
Is there any way to trigger the JOB by changing its Repository URL wihout any manual intervention?
Is it possible?
Thanks.
run-job-jenkinks.png
We have a job on jenkins configured with one Repository URL pointing to a fixed SVN repository URL. This JOB is executed when there're changes (commits, updates, ect) on the SVN reposotory. Everything is good.
But, now there're more than one developer creating new branches on the same repository. See image attached. What if developer of branch 8, wants to test its code by running the JOB on jenkins if he can not change Repository URL of the JOB inside jenkins?
Is there any way to trigger the JOB by changing its Repository URL wihout any manual intervention?
Is it possible?
Thanks.
run-job-jenkinks.png
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Yes, exactly. Just look at the list of available plugins and you may find e.g. this one: https://wiki.jenkins-ci.or g/display/ JENKINS/Bu ild+With+P arameters+ Plugin
Maybe not exactly what you need but there are many plugins which support parameters passing in Jenkins.
Maybe not exactly what you need but there are many plugins which support parameters passing in Jenkins.
ASKER
thanks pcelba.. sorry the delay.. I'll be back soon..
ASKER
OK.. thanks
ASKER
Can you explain me the option3)? Is it a plugin?
We'd like to kee only one JOB, so we need a way to pass jenkisn job the URL I want to test in my JOB. Thsi URL can be a branch or a trunk. If a developer create a new branch, this new URL needs to be send to JOB Jenkins. That's what we need. Just pass new URL to my JOB.
Thanks.