Calling a Jenkins build from outside of Jenkins?

0 votes
I would like to set up a web interface where somebody could click "Start Job" and this will tell Jenkins to start a particular build job.
Aug 13, 2018 in Jenkins by Hannah
• 14,080 points
26 views

2 answers to this question.

0 votes
In your job configuration you setup a token and then create a POST request to JENKINS_URL/job/JOBNAME/build?token=TOKEN.
answered Aug 13, 2018 by Kalgi
• 37,320 points
0 votes
Jenkins has support for parameterized build as well.

So, if you want to pass parameters for configurable build generation, you can pass them by posting it while invoking Jenkins build request with http://YOURHOST/jenkins/job/PROJECTNAME/buildWithParameters.
answered Aug 13, 2018 by lina
• 8,100 points

Related Questions In Jenkins

+2 votes
5 answers
0 votes
1 answer

How do I pass value from my Fake # script to the host build server (Jenkins)

You can use the EnvInject plugin to pass environment ...READ MORE

answered Jul 11, 2018 in Jenkins by Kalgi
• 2,620 points
62 views
+1 vote
4 answers
+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer

Error saying "localhost:3001error" When trying to run a build - Jenkins

There are two possible issues with this ...READ MORE

answered Dec 19, 2018 in Jenkins by Kalgi
• 37,320 points
88 views
+5 votes
4 answers

How can I run a Jenkinsfile from a particular folder?

Consider the below points: The Freestyle project ...READ MORE

answered Mar 26, 2018 in Jenkins by anonymous
1,712 views