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
• 18,070 points

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
• 51,890 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,200 points

Related Questions In Jenkins

+2 votes
5 answers
0 votes
1 answer

Different ways of scheduling a build in jenkins.

Here are the ways in which you ...READ MORE

answered Oct 11, 2019 in Jenkins by Sirajul
• 55,420 points
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
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,420 points
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
• 51,890 points
+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