Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66757

lightweight checkout for Jenkinsfile fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins 2.289.1, Atlassian Bitbucket v7.2.0, Bitbucket Server Integration 3.0.0, Bitbucket Branch Source 2.9.11
    • Bundles management UI Sprint

      I am using bitbucket-branch-source-plugin version 2.9.11 (currently the latest one) and lightweight checkout for Jenkinsfile fails with below error when we checkin Jenkinsfile into Bitbucket repo. However, when we put the same Jenkinsfile inside Jenkins -> Manage files -> Add a new config (Groovy file) then it works without any issue.

      I have attached the exception that I get. Please assist how to resolve this issue.

      We have also tried attached solution [Jenkins_error.JPG] but when we enable "Call can Merge" and "Call changes api" checkboxes it stops automatic pull requests triggering in Jenkins.

       

            Unassigned Unassigned
            janak1983 Janak
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: