[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Mike Neary commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Thank you Jesse Glick. With a little reorganizing of my Jenkinsfile and using 'checkout scm' I was able to get all builds working, including PRs. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Jesse Glick commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Mike Neary checkout scm Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Mike Neary commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build For me this appears to have to do with the use of BRANCH_NAME in my Jenkinsfile, which in this case happens to be PR-96, but isn't really a branch in the repository. If there is a solution for this that allows me to continue using BRANCH_NAME, I'd love to hear about it. Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Mike Neary edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build [~jglick] I am having the same issue with workflow-multibranch and Bitbucket Branch Source Plugin. Similar to David above, I get the following output:{code:java}> git fetch --tags --progress ssh://git@bitbucket.v:7999//.git +refs/heads/:refs/remotes/origin/ > git rev-parse refs/remotes/origin/PR-96^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/PR-96^{commit} # timeout=10 > git rev-parse origin/PR-96^{commit} # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE{code} I am using Jenkins 2.32.3, Bitbucket Branch Source Plugin 2.12, Bitbucket Server 4.11.1 and this webhook plugin for Bitbucket: [ https:// confluence marketplace .atlassian.com/ bitbucketserverkb plugins / troubleshooting-steps-for- nl.topicus. bitbucket .bitbucket - webhooks/ server -code-search-827125334.html] /overview Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Mike Neary edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build [~jglick] I am having the same issue with workflow-multibranch and Bitbucket Branch Source Plugin. Similar to David above, I get the following output: {code:java} > git fetch --tags --progress ssh://git@bitbucket.v:7999//.git +refs/heads/ * :refs/remotes/origin/ * > git rev-parse refs/remotes/origin/PR-96^ \ {commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/PR-96^ \ {commit} # timeout=10 > git rev-parse origin/PR-96^ \ {commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE {code} I am using Jenkins 2.32.3, Bitbucket Branch Source Plugin 2.12, Bitbucket Server 4.11.1 and this webhook plugin for Bitbucket: [ https://confluence.atlassian.com/bitbucketserverkb/troubleshooting-steps-for-bitbucket-server-code-search-827125334.html ] Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Mike Neary commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Jesse Glick I am having the same issue with workflow-multibranch and Bitbucket Branch Source Plugin. Similar to David above, I get the following output: > git fetch --tags --progress ssh://git@bitbucket.v:7999//.git +refs/heads/:refs/remotes/origin/ > git rev-parse refs/remotes/origin/PR-96^{commit} # timeout=10 > git rev-parse refs/remotes/origin/origin/PR-96^{commit} # timeout=10 > git rev-parse origin/PR-96^{commit} # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE I am using Jenkins 2.32.3, Bitbucket Branch Source Plugin 2.12, Bitbucket Server 4.11.1 and this webhook plugin for Bitbucket: https://confluence.atlassian.com/bitbucketserverkb/troubleshooting-steps-for-bitbucket-server-code-search-827125334.html Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Guillaume Paran commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Same problem here with Jenkins 2.32.2 + multi-branch-project-plugin 0.6 + github-branch-source 2.0.4 Add Comment This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I just got this with 0.6 and everything else up to date: > git fetch --tags --progress https://github.com//.git +refs/pull/*/head:refs/remotes/origin/pr/* > git rev-parse origin/PR-216^{commit} # timeout=10 > git rev-parse origin1/PR-216^{commit} # timeout=10 > git rev-parse PR-216^{commit} # timeout=10 ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job. Finished: FAILURE Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson reopened an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Resolution: Fixed Status: Resolved Reopened Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Matthew DeTullio resolved as Fixed Please reopen if this is still an issue in version 0.6, which was just released Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: Matthew DeTullio Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Jesse Glick assigned an issue to Matthew DeTullio Interesting…so it may be some bug in that plugin’s handling of branch names. Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: Jesse Glick Component/s: github-branch-source-plugin Assignee: Matthew DeTullio Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it,
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build For me this is only an issue in multi-branch-project, and not in workflow-multibranch. Switching to the latter resolved my issues (and gave other benefits as well). Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Jesse Glick commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Not by me or by Stephen Connolly unless the problem applies also to workflow-multibranch, not just multi-branch-project. If someone wants to track down the root problem, and ideally file a pull request correcting it, that would help. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Leszek Charkiewicz commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Jesse Glick, I've got the same problem. Is there a plan to fix it soon? Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials of the type _Username with password_ using my predefined user with username {{jenkins-37144}} and password {{37144-jenkins}}. That is a GitHub user which has a repository with an open pull request.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job# Run the job for the pull request and watch it fail with the error described below*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat}*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials of the type _Username with password_ using my predefined user with username {{jenkins-37144}} and password {{37144-jenkins}}. That user has a repository with an open pull request. # Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job# Run the job for the pull request and watch it fail with the error described below*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat}*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials of the type _Username with password_ using my predefined user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job# Run the job for the pull request and watch it fail with the error described below* Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} *Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for of the type _Username with password_ using my test predefined user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job# Run the job for the pull request and watch it fail with the error described below*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat}
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job# Run the branch job for the pull request and watch it fail with the error described below*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Jesse Glick, I've added a detailed description on how to reproduce this issue. It's easily reproducible from scratch. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job # Run the job for the pull request and watch it fail with the error described below *Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job# Run the branch job for the pull request and watch it fail with the error described below*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project:## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click advanced _Advanced..._ and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a _Freestyle Freestyle multi-branch project_ project: ## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click advanced and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job*Good to know:*- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.*The build fails with this in the log:*{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for a user with access to a GitHub repo with pull requests, for example my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle _Freestyle multi-branch project project_ ## Under _Branch Sources_, add _GitHub_ as a source## Configure {{jenkins-37144}} as the owner## Select the credentials from above## Select {{jenkins-pr-test-repo}} as the repository## Click advanced and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job * Good to know: * - All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing. * The build fails with this in the log: * {noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below. *How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for a user with access to a GitHub repo with pull requests, for example my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project - Under _Branch Sources_, add _GitHub_ as a source - Configure {{jenkins-37144}} as the owner - Select the credentials from above - Select {{jenkins-pr-test-repo}} as the repository - Click advanced and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the job Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.The build fails with this in the log:{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.*How to reproduce:*# Start a clean Jenkins installation, possibly in a Docker container# Install the {{github-branch-source-plugin}} and the {{multi-branch-project-plugin}}, possibly using {{install-plugins.sh multi-branch-project-plugin github-branch-source}}# Add access credentials for a user with access to a GitHub repo with pull requests, for example my test user with username {{jenkins-37144}} and password {{37144-jenkins}}.# Create a Freestyle multi-branch project - ## Under _Branch Sources_, add _GitHub_ as a source - ## Configure {{jenkins-37144}} as the owner - ## Select the credentials from above - ## Select {{jenkins-pr-test-repo}} as the repository - ## Click advanced and make sure _Build origin PRs (merged with base branch)_ is checked.# Run the branch indexing for the jobGood to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.The build fails with this in the log:{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit}fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Component/s: multi-branch-project-plugin Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Jonathan Byrne commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I am having the same issue on any pull request. I believe it is caused by using an incorrect branch name for the pull request. Nothing is returned when this call is made: git rev-parse "origin/PR-14^{commit}" Because of this, no hash is found to checkout. I believe the call should be: git rev-parse "origin/PR/14^{commit}" I believe the pull request https://github.com/jenkinsci/github-branch-source-plugin/pull/77 fixes the issue. Unfortunately, this causes another issue on my build because the workspace directory is created as "PR%2F14" but the MSBuild plugins try to use "PR/14" as the directory name. I suspect that is a different bug. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Jonathan Byrne edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I am having the same issue on any pull request. I believe it is caused by using an incorrect branch name for the pull request. Nothing is returned when this call is made:{code:}git rev-parse "origin/PR-14^{commit}"{code}Because of this, no hash is found to checkout. I believe the call should be:{code:}git rev-parse "origin/PR/14^{commit}"{code}I believe the pull request https://github.com/jenkinsci/github-branch-source-plugin/pull/77 fixes the issue. Unfortunately, this causes another issue on my build because the workspace directory is created as "PR%2F14" but the MSBuild plugins plugin try to use "PR/14" as the directory name. I suspect that is a different bug. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I'm actually no longer so sure about my assumptions. Modifying the branch specifier in the Jenkins job for the PR from {{PR-27}} to {{PR/27}} does not solve anything. Changing it to{noformat}*/PR-27{noformat}or{noformat}*/PR/27{noformat}makes the build pass, but then the status on the GitHub pull request is not updated after the initial "This pull request is scheduled to be built" message. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I'm actually no longer so sure about my assumptions. Modifying the branch specifier in the Jenkins job for the PR from {{PR-27}} to {{PR/27}} does not solve anything. Changing it to{noformat}*/PR-27{noformat}or{noformat}*/PR/27{noformat}makes the build pass, but then the status on GitHub is not updated after the initial "This pull request is scheduled to be built" message . Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I'm actually no longer so sure about my assumptions. Modifying the branch specifier in the Jenkins job for the PR from {{PR-27}} to {{PR/27}} does not solve anything. Changing it to { { noformat} */PR-27 {noformat } } or { { noformat} */PR/27 {noformat } } makes the build pass, but then the status on GitHub is not updated. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson edited a comment on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I'm actually no longer so sure about my assumptions. Modifying the branch specifier in the Jenkins job for the PR from {{PR-27}} to {{PR/27}} does not solve anything. Changing it to {{*/PR-27}} or {{*/PR/27}} makes the build pass, but then the status on GitHub is not updated. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build I'm actually no longer so sure about my assumptions. Modifying the branch specifier in the Jenkins job for the PR from PR-27 to PR/27 does not solve anything. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.The build fails with this in the log:{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat}> git rev-parse origin/PR-27^{commit} origin/PR-27^{commit} fatal: ambiguous argument 'origin/PR-27^{commit}': unknown revision or path not in the working tree.> git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment This message was sent by Atlassian JIRA
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.The build fails with this in the log:{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat} $ > git rev-parse origin/ PR-27^{commit} origin/ PR-27^{commit}fatal: ambiguous argument ' origin/ PR-27^{commit}': unknown revision or path not in the working tree. $ > git rev-parse origin/PR/27^{commit}0bbc328a72b6083d593c1ae746f80fdba75aa61a{noformat} Add Comment This message was sent by
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.The build fails with this in the log:{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{origin/PR/27}} instead of {{origin/PR-27}} works:{noformat} $ git rev-parse PR-27^{commit} PR-27^{commit}fatal: ambiguous argument 'PR-27^{commit}': unknown revision or path not in the working tree.$ git rev-parse origin/PR/27^{commit} 0bbc328a72b6083d593c1ae746f80fdba75aa61a {noformat} Add Comment This message was sent by Atlassian JIRA
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Attachment: consoleText Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Attachment: build.log Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Attachment: full_build_log.txt Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Attachment: consoleText Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing. Build The build fails with this in the log:{noformat} Started by user anonymousBuilding in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspaceCloning the remote Git repositoryCloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git571539317037453523.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin1.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git8818716521234454688.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/pull/*/head:refs/remotes/origin/pr/* > git config --local --remove-section credential # timeout=10 > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Jesse Glick, thanks for your comment! Is this confirmed to be working? I believe that nothing else is needed to reproduce this. My guess is that GitHub have renamed their pull request branches from PR-27 to PR/27. I have updated the issue accordingly. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository.- Builds are triggered by branch indexing.The build fails with this in the log:{noformat} > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}When running the same git commands manually, they fail as well, but providing {{ origin /PR/27}} instead of {{ origin /PR-27}} works:{noformat}git rev-parse origin/PR/27^{commit}{noformat} Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Attachment: build.log Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title Jesse Glick commented on JENKINS-37144 Re: Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Without a way to reproduce from scratch, unfortunately I cannot do anything with this. You could run in a debugger and track down the issue. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository. - Builds are triggered by branch indexing. Build log:{noformat}Started by user anonymousBuilding in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspaceCloning the remote Git repositoryCloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git571539317037453523.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin1.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git8818716521234454688.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/pull/*/head:refs/remotes/origin/pr/* > git config --local --remove-section credential # timeout=10 > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the message in the log below.Good to know:- All "non-PR" builds work fine.- Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository. Build log: {noformat}Started by user anonymousBuilding in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspaceCloning the remote Git repositoryCloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git571539317037453523.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin1.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git8818716521234454688.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/pull/*/head:refs/remotes/origin/pr/* > git config --local --remove-section credential # timeout=10 > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished:
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo). All builds fail with the following message in the log below.Good to know : - All "non-PR" builds work fine. - Everything outside of the screenshot is configured according to the defaults.- The pull request exists and has no conflicts with the base branch.- The GitHub repository is my organization's private repository. {noformat}Started by user anonymousBuilding in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspaceCloning the remote Git repositoryCloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git571539317037453523.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin1.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git8818716521234454688.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/pull/*/head:refs/remotes/origin/pr/* > git config --local --remove-section credential # timeout=10 > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished:
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I have created a freestyle multi-branch project, and I've configured it to use the GitHub branch source plugin as shown on the attached screenshot. With this I am unable to build origin pull requests (from the same repo) for my freestyle multi-branch project with the GitHub Branch Source plugin . All builds fail with the following message:{noformat}Started by user anonymousBuilding in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspaceCloning the remote Git repositoryCloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git571539317037453523.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin1.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git8818716521234454688.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/pull/*/head:refs/remotes/origin/pr/* > git config --local --remove-section credential # timeout=10 > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat} I have configured Good to know:- All "non-PR" builds work fine.- Everything outside of the GitHub branch source plugin as shown on the attached screenshot , everything else is
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson I am unable to build origin pull requests (from the same repo) for my freestyle multi-branch project with the GitHub Branch Source plugin. All builds fail with the following message:{noformat}Started by user anonymousBuilding in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspaceCloning the remote Git repositoryCloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git571539317037453523.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/heads/*:refs/remotes/origin/* > git config --local --remove-section credential # timeout=10 > git config remote.origin1.url https://github.com/private/repo.git # timeout=10Fetching upstream changes from https://github.com/private/repo.gitusing .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git8818716521234454688.credentials # timeout=10 > git -c core.askpass=true fetch --tags --progress https://github.com/private/repo.git +refs/pull/*/head:refs/remotes/origin/pr/* > git config --local --remove-section credential # timeout=10 > git rev-parse origin/PR-27^{commit} # timeout=10 > git rev-parse origin1/PR-27^{commit} # timeout=10 > git rev-parse PR-27^{commit} # timeout=10ERROR: Couldn't find any revision to build. Verify the repository and branch configuration for this job.Finished: FAILURE{noformat}I have configured the GitHub branch source plugin as shown on the attached screenshot, everything else is according to the defaults. {{PR-27}} exists and has no conflicts with the base branch. The GitHub repository is my organization's private repository. All "non-PR" builds work fine.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Component/s: freestyle-multibranch-plugin Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson updated an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Change By: David Pärsson Component/s: freestyle-multibranch-plugin Environment: Jenkins LTS v2.7.1 (latest) GitHub Branch Source Plugin v1.8.1 (latest)GitHub API Plugin v1.76 (latest)GitHub Organization Folder Plugin v1.4 (latest)GitHub plugin v1.20.0 (latest)Git plugin v2.5.3 (latest) Multi-Branch Project Plugin v0.5.1 (latest)Branch API Plugin v1.10 (latest) Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-37144) Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build
Title: Message Title David Pärsson created an issue Jenkins / JENKINS-37144 Unable to build origin PRs with GitHub Branch Source Plugin: Couldn't find any revision to build Issue Type: Bug Assignee: Unassigned Attachments: jenkins-github-config.png Components: github-branch-source-plugin Created: 2016/Aug/03 11:40 AM Environment: Jenkins LTS v2.7.1 (latest) GitHub Branch Source Plugin v1.8.1 (latest) GitHub API Plugin v1.76 (latest) GitHub Organization Folder Plugin v1.4 (latest) GitHub plugin v1.20.0 (latest) Git plugin v2.5.3 (latest) Priority: Major Reporter: David Pärsson I am unable to build origin pull requests (from the same repo) for my freestyle multi-branch project with the GitHub Branch Source plugin. All builds fail with the following message: Started by user anonymous Building in workspace /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace Cloning the remote Git repository Cloning repository https://github.com/private/repo.git > git init /var/lib/jenkins/jobs/test-multi-branch/branches/PR-27/workspace # timeout=10 Fetching upstream changes from https://github.com/private/repo.git > git --version # timeout=10 using .gitcredentials to set credentials > git config --local credential.username my-user # timeout=10 > git config --local credential.helper store --file=/tmp/git4891900535821671503.credentials # timeout=10 > git -c core.askpass=true fetch