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

Multibranch pipeline after obtaining Jenkinsfile does not apply configuration to job

      Started by user
      admin
      12:42:47 Connecting to https://api.github.com using xxxxxxxxxxxxxxxxxxxxxxxxxxx/****** (Service Account GitHub token)Obtained xxx/xxx/xxx/xxx/BuildFlow.groovy from xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (git SHA)
      BuildFlow.groovy contains declarative pipeline with disabled default checkout. 

       

      The problem is multibranch pipeline does not apply changes from this file, for example if i change cron trigger it won`t be save in job configuration however in stack trace you can see that multibranch pipeline obtained required Jenkinsfile. Also if i turn on default checkout or checkout scm or git etc. changes will apply to job.

          [JENKINS-52738] Multibranch pipeline after obtaining Jenkinsfile does not apply configuration to job

          Rezo Heorhadze created issue -
          Rezo Heorhadze made changes -
          Description Original: Started by user
          [lsdeployer1|http://55166-11153-1.cloud.health.ge.com/jenkins/user/lsdeployer1]
          12:42:47 Connecting to [https://api.github.com|https://api.github.com/] using xxxxxxxxxxxxxxxxxxxxxxxxxxx/****** (Service Account GitHub token)Obtained xxx/xxx/xxx/xxx/BuildFlow.groovy from xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (git SHA)
          BuildFlow.groovy contains declarative pipeline with disabled default checkout. 

           

          The problem is multibranch pipeline does not apply changes from this file, for example if i change cron trigger it won`t be save in job configuration however in stack trace you can see that multibranch pipeline obtained required Jenkinsfile. Also if i turn on default checkout or checkout scm or git etc. changes will apply to job.
          New: Started by user
          admin
           12:42:47 Connecting to [https://api.github.com|https://api.github.com/] using xxxxxxxxxxxxxxxxxxxxxxxxxxx/****** (Service Account GitHub token)Obtained xxx/xxx/xxx/xxx/BuildFlow.groovy from xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (git SHA)
           BuildFlow.groovy contains declarative pipeline with disabled default checkout. 

           

          The problem is multibranch pipeline does not apply changes from this file, for example if i change cron trigger it won`t be save in job configuration however in stack trace you can see that multibranch pipeline obtained required Jenkinsfile. Also if i turn on default checkout or checkout scm or git etc. changes will apply to job.
          Andrew Bayer made changes -
          Component/s New: pipeline-model-definition-plugin [ 21706 ]
          Component/s Original: pipeline [ 21692 ]

            Unassigned Unassigned
            rezo Rezo Heorhadze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: