Skip to content
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

Open
Kollerb04 opened this issue Sep 22, 2017 · 0 comments
Open

Jenkins fails to build on pull request #12

Kollerb04 opened this issue Sep 22, 2017 · 0 comments

Comments

@Kollerb04
Copy link

Kollerb04 commented Sep 22, 2017

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.

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant