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

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

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

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

        Attachments

          Activity

          Hide
          bicschneider 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.

          Show
          bicschneider 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.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          brantone Brantone added a comment -

          Changes to using param re-broke this.

          Show
          brantone Brantone added a comment - Changes to using param re-broke this.
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          scm_issue_link 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

          Show
          scm_issue_link 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
          Hide
          brantone 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

          Show
          brantone 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

            People

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

              Dates

              • Created:
                Updated: