forked from jenkinsci/bitbucket-branch-source-plugin
-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins fails to build on pull request #12
Comments
amuniz
added a commit
that referenced
this issue
Feb 15, 2018
[JENKINS-39267] Honour the no_proxy setting when connecting to BitBucket
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When specifying git url with a branch parameter inside jenkinsfile and creating a pull request jenkins indexes the pull request branch but when runs a build it returns:
ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.
Finished: FAILURE
The git url command in jenkinsfile goes like:
git url: 'ssh://[email protected]', credentialsId: 'x', branch: '$BRANCH_NAME'
Jenkins builds correctly on a standard branch, while running the same build on a pull request fails.
The text was updated successfully, but these errors were encountered: