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

Pullrequest github executes Jenkinsfile of origin branch

    XMLWordPrintable

Details

    Description

      There 2 problems that's comes with this:

      PR's to a branch without Jenkinsfile but working branch has a Jenkinsfile are not executed by jenkins.
      ERROR: /var/lib/jenkins/workspace/<organision>_<repository>_PR-15-QN42E7GZF23RNDD3R6SOUQOVTDJI2IGDB4C7LFJ5M35IGM43I4XQ@script/Jenkinsfile not found
      
      PR's where a change has been made in the Jenkins file are still executing Jenkinsfile of origin branch.

      Attachments

        Issue Links

          Activity

            pjvanthof Peter Hof created issue -
            pjvanthof Peter Hof made changes -
            Field Original Value New Value
            Description There 2 problems that's comes with this:

            h5. PR's to a branch without Jenkinsfile but working branch has a Jenkinsfile are not executed by jenkins.

            {code}
            ERROR: /var/lib/jenkins/workspace/<organision>_<repository>_PR-15-QN42E7GZF23RNDD3R6SOUQOVTDJI2IGDB4C7LFJ5M35IGM43I4XQ@script/Jenkinsfile not found
            {code}


            - PR's where a change has been made in the Jenkins file are still executing Jenkinsfile of origin branch.
            There 2 problems that's comes with this:

            h5. PR's to a branch without Jenkinsfile but working branch has a Jenkinsfile are not executed by jenkins.

            {code}
            ERROR: /var/lib/jenkins/workspace/<organision>_<repository>_PR-15-QN42E7GZF23RNDD3R6SOUQOVTDJI2IGDB4C7LFJ5M35IGM43I4XQ@script/Jenkinsfile not found
            {code}


            h5. PR's where a change has been made in the Jenkins file are still executing Jenkinsfile of origin branch.
            lanwen Kirill Merkushev made changes -
            Component/s pipeline-github-lib-plugin [ 21833 ]
            Component/s github-plugin [ 15896 ]
            lanwen Kirill Merkushev made changes -
            Assignee Kirill Merkushev [ lanwen ] Jesse Glick [ jglick ]
            pjvanthof Peter Hof made changes -
            Component/s github-organization-folder-plugin [ 21427 ]
            stephenconnolly Stephen Connolly made changes -
            Assignee Jesse Glick [ jglick ] Stephen Connolly [ stephenconnolly ]
            stephenconnolly Stephen Connolly made changes -
            Link This issue is related to JENKINS-41616 [ JENKINS-41616 ]
            stephenconnolly Stephen Connolly made changes -
            Resolution Not A Defect [ 7 ]
            Status Open [ 1 ] Closed [ 6 ]

            People

              stephenconnolly Stephen Connolly
              pjvanthof Peter Hof
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: