[JIRA] (JENKINS-49353) ERROR: Could not do lightweight checkout, falling back to heavyweight
Title: Message Title tanzeel rehman commented on JENKINS-49353 Re: ERROR: Could not do lightweight checkout, falling back to heavyweight When I create a pull request in Bitbucket my build fails, see attached image for details. Couldn't find remote ref refs/pull-requests/42/from Another thing I have noticed is that when I go to Jenkins UI and re-trigger the build it builds without any errors. Next if I commit to my branch/PR build runs without errors Next when I decline the PR and then open the same PR it again fails and this time when I try to re trigger build from Jenkins UI it continues to fail with the same error and I end up with having to create a new PR with the only solution to run my build pipeline, OR I do a new commit and that triggers a successful build My environments are: Jenkins ver. 2.197 Bitbucket Branch Source plugin 2.4.6 JENKINS-59808 Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
[JIRA] (JENKINS-49353) ERROR: Could not do lightweight checkout, falling back to heavyweight
Title: Message Title tanzeel rehman updated an issue Jenkins / JENKINS-49353 ERROR: Could not do lightweight checkout, falling back to heavyweight Change By: tanzeel rehman Attachment: Screen Shot 2019-10-16 at 3.56.43 PM.png Add Comment This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f) -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.188219.1517657526000.9013.1571257081838%40Atlassian.JIRA.
[JIRA] (JENKINS-49353) ERROR: Could not do lightweight checkout, falling back to heavyweight
Title: Message Title Matthias F commented on JENKINS-49353 Re: ERROR: Could not do lightweight checkout, falling back to heavyweight Same here, the URL uses a wrong parameter (PR-XXX) instead of the branch name. I couldn't find any parameter that would me allow to change that. Add Comment This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d) -- 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-49353) ERROR: Could not do lightweight checkout, falling back to heavyweight
Title: Message Title Edward Basiliere commented on JENKINS-49353 Re: ERROR: Could not do lightweight checkout, falling back to heavyweight We are experiencing this same issue. This has increased our build time for pull requests, especially for some of our larger repositories. Jenkins: 2.89.4 Bitbucket Branch Source Plugin: 2.2.10 Bitbucket Server: 4.13.0 We get the error in the description: /rest/api/1.0/projects/PROJNAME/repos/REPONAME/browse/Jenkinsfile?at=PR-106=0=500 But if I replace "PR-106" with another branch, like "development", the lightweight checkout works fine: /rest/api/1.0/projects/PROJNAME/repos/REPONAME/browse/Jenkinsfile?at=development=0=500 Thanks! 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-49353) ERROR: Could not do lightweight checkout, falling back to heavyweight
Title: Message Title Robin Smith commented on JENKINS-49353 Re: ERROR: Could not do lightweight checkout, falling back to heavyweight I think the same issue also affects readTrusted. Since that function has no heavyweight checkout to fall back on, the errors seen here will cause a build failure when attempting a readTrusted operation during a Multbranch PR build with Bitbucket 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-49353) ERROR: Could not do lightweight checkout, falling back to heavyweight
Title: Message Title Seb Lie commented on JENKINS-49353 Re: ERROR: Could not do lightweight checkout, falling back to heavyweight The root cause seems to be that "PR-216" is not recognized by the Bitbucket API. If you replace PR-216 with "pull-requests/216/merge" or "pull-requests/216/from", you can download the Jenkinsfile without falling back to a full checkout (assuming it exists in the repo). 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.