When updating the pipeline groovy plugin from 2.17 to 2.18 some RTC related variables e.g. env.team_scm_snapshotUUID and env.team_scm_fetchDestination return null after checking out from RTC by using a build definition. The expected behavior is that these variables return the same values as in the previous version.

          [JENKINS-38734] RTC environment variables to set

          Also faced this issue with Jenkins 2.7.4, pipeline 2.4, pipeline groovy 2.21

          chetan muthappa added a comment - Also faced this issue with Jenkins 2.7.4, pipeline 2.4, pipeline groovy 2.21

          Downgrading to 2.17 worked as a workaround. But a fix would be very much appreciated.

          Anybody know how to debug where this comes from?

          Dorian Daumiller added a comment - Downgrading to 2.17 worked as a workaround. But a fix would be very much appreciated. Anybody know how to debug where this comes from?

          Dorian Daumiller added a comment - - edited

          works with rtc-buildtoolkit 6.0.2 (our server being 6.0.2) and:
          Jenkins 2.19.1
          Pipeline 2.4
          Pipeline Graph Analysis Plugin 1.2
          Pipeline: API 2.6
          Pipeline: Basic Steps 2.3
          Pipeline: Build Step 2.3
          Pipeline: Groovy 2.23
          Pipeline: Input Step 2.5
          Pipeline: Job 2.8
          Pipeline: Milestone Step 1.1
          Pipeline: Multibranch 2.9.2
          Pipeline: Nodes and Processes 2.5
          Pipeline: REST API Plugin 2.2
          Pipeline: SCM Step 2.2
          Pipeline: Shared Groovy Libraries 2.4
          Pipeline: Stage Step 2.2
          Pipeline: Stage View Plugin 2.2
          Pipeline: Step API 2.5
          Pipeline: Supporting APIs 2.10

          Dorian Daumiller added a comment - - edited works with rtc-buildtoolkit 6.0.2 (our server being 6.0.2) and: Jenkins 2.19.1 Pipeline 2.4 Pipeline Graph Analysis Plugin 1.2 Pipeline: API 2.6 Pipeline: Basic Steps 2.3 Pipeline: Build Step 2.3 Pipeline: Groovy 2.23 Pipeline: Input Step 2.5 Pipeline: Job 2.8 Pipeline: Milestone Step 1.1 Pipeline: Multibranch 2.9.2 Pipeline: Nodes and Processes 2.5 Pipeline: REST API Plugin 2.2 Pipeline: SCM Step 2.2 Pipeline: Shared Groovy Libraries 2.4 Pipeline: Stage Step 2.2 Pipeline: Stage View Plugin 2.2 Pipeline: Step API 2.5 Pipeline: Supporting APIs 2.10

          Jesse Glick added a comment -

          Probably you neglected to update Pipeline: Job as mentioned in the release notes for Pipeline: Groovy.

          Jesse Glick added a comment - Probably you neglected to update Pipeline: Job as mentioned in the release notes for Pipeline: Groovy .

          I updated to
          Jenkins ver. 2.19.2
          Pipeline 2.4
          Pipeline: Groovy 2.23
          Pipeline: Job 2.9

          and this solved the issue for me. I suspect that this issue is connected to JENKINS-30910

          Fabian Güttge added a comment - I updated to Jenkins ver. 2.19.2 Pipeline 2.4 Pipeline: Groovy 2.23 Pipeline: Job 2.9 and this solved the issue for me. I suspect that this issue is connected to JENKINS-30910

          Problems vanished after update

          Fabian Güttge added a comment - Problems vanished after update

            deluan Deluan Quintão
            fabianguettge Fabian Güttge
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: