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

Environment variables not exported with "Use SCM from another project"

      When "Use SCM from another project" is enabled in a project, the SVN_REVISION* and SVN_URL* variables are not exported properly.

          [JENKINS-24404] Environment variables not exported with "Use SCM from another project"

          I have seen the same issue with GIT and GIT Plugin where the git trigger variables is not exported to the environment.

          Claus Schneider added a comment - I have seen the same issue with GIT and GIT Plugin where the git trigger variables is not exported to the environment.

          Code changed in jenkins
          User: Brenton B
          Path:
          src/main/java/hudson/plugins/templateproject/ProxySCM.java
          http://jenkins-ci.org/commit/template-project-plugin/11bc1c8a59fa3b8bb5fe1fea9653225cd5c2db4c
          Log:
          Merge pull request #12 from vb-linetco/add-build-env-var-support

          [FIXED JENKINS-24404] added support for build environment variables

          Compare: https://github.com/jenkinsci/template-project-plugin/compare/657f32764a92...11bc1c8a59fa

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Brenton B Path: src/main/java/hudson/plugins/templateproject/ProxySCM.java http://jenkins-ci.org/commit/template-project-plugin/11bc1c8a59fa3b8bb5fe1fea9653225cd5c2db4c Log: Merge pull request #12 from vb-linetco/add-build-env-var-support [FIXED JENKINS-24404] added support for build environment variables Compare: https://github.com/jenkinsci/template-project-plugin/compare/657f32764a92...11bc1c8a59fa

          Brantone added a comment -

          Changes to using param re-broke this.

          Brantone added a comment - Changes to using param re-broke this.

          Code changed in jenkins
          User: Brantone
          Path:
          src/main/java/hudson/plugins/templateproject/ProxySCM.java
          http://jenkins-ci.org/commit/template-project-plugin/3700a0bfc5764a8f26cccd3118e4c8f1fc30fa2a
          Log:
          Re-fixing JENKINS-24404 by ensuring passing build

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Brantone Path: src/main/java/hudson/plugins/templateproject/ProxySCM.java http://jenkins-ci.org/commit/template-project-plugin/3700a0bfc5764a8f26cccd3118e4c8f1fc30fa2a Log: Re-fixing JENKINS-24404 by ensuring passing build

          Code changed in jenkins
          User: Brenton B
          Path:
          src/main/java/hudson/plugins/templateproject/ProxySCM.java
          http://jenkins-ci.org/commit/template-project-plugin/c409c677b7f4f48ca8daf3f60371004f0e19346f
          Log:
          Merge pull request #24 from Brantone/master

          Re-fixing JENKINS-24404 by ensuring passing build

          Compare: https://github.com/jenkinsci/template-project-plugin/compare/95357f091e65...c409c677b7f4

          SCM/JIRA link daemon added a comment - Code changed in jenkins User: Brenton B Path: src/main/java/hudson/plugins/templateproject/ProxySCM.java http://jenkins-ci.org/commit/template-project-plugin/c409c677b7f4f48ca8daf3f60371004f0e19346f Log: Merge pull request #24 from Brantone/master Re-fixing JENKINS-24404 by ensuring passing build Compare: https://github.com/jenkinsci/template-project-plugin/compare/95357f091e65...c409c677b7f4

          Brantone added a comment -

          While this technically works for explicit project names, it still has issues when a parameter is provided : because it need the env to get the param's value, which it's trying to set - so circular path

          Brantone added a comment - While this technically works for explicit project names, it still has issues when a parameter is provided : because it need the env to get the param's value, which it's trying to set - so circular path

            brantone Brantone
            tom_ghyselinck Tom Ghyselinck
            Votes:
            2 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: