i need lauch a job in a secuered jenkins from remote, i have tried with api token, instead launching job it show a jenkins login page. The URL that i use is:



2 Answers 2


I've found the solution: need to able Trigger builds remotely (e.g., from scripts) to project page and insert any token. The request URL is:



you can do this using curl command as well. create an API token for the jenkins Job and use it to trigger the job. you can use jenkins user password for this as well.

enter image description here

command would be

curl -I -u auto:<user_api_token> http://<jenkins_Server>/job/test/build?token=wefiytgwiefiweihfqweiodf

results would be enter image description here

for more information how to trigger jenkins job via curl command remotely

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.