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,570 points
461 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
• 52,370 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,220 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
• 59,070 points
3,080 views
0 votes
1 answer
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,288 views
+2 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
• 52,370 points
472 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 27, 2018 in Jenkins by anonymous
17,893 views