After reading the Jenkins documentation and a few trial and error I managed integrate Bitbucket and Jenkins parameterized jobs.
The hook management form presents 4 fields:
- Endpoint: Here, you’ll need to set your Jenkins URL in the following format — http://username:apitoken@your.jenkins.url/job/your.job.name/buildWithParameters
- Module name: (Optional)
- Project name: (Leave Empty)
- Token: It’s the authentication token you defined in your Jenkins job settings
The gotcha is leaving the project name field blank and include it in the endpoint URL appended with buildWithParameters.
Nenhum comentário:
Postar um comentário