Status: Closed (View Workflow)
Resolution: Not A Defect
Jenkins ver. 2.32.2
The problem I met was: I tried to trigger jenkins project by api, but it failed:
Api: curl -X POST 'http://localhost:8080/jenkins/job/bis-dx/build' --user '**:***' -H "$CRUMB"
<p>Problem accessing /jenkins/job/bis-dx/build. Reason:
<pre> Not Found</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
What I want to consult are:
- The api is correct or not？
- If api is correct, whether the issue is the bug of the jenkins version I am using? If so, which version is better, how about 2.60.1?
Probably the wrong URL for a build that expects parameters. How to trigger builds is documented on /jenkins/job/bis-dx/api/ section "Perform a build"; guides on the web (notably also the Jenkins wiki) are often not great.
So far this looks more like a support request that a bug report; those are better posted to #jenkins on Freenode, or to the jenkinsci-users mailing list.