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

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

    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

          tom_ghyselinck Tom Ghyselinck created issue -
          danielbeck Daniel Beck made changes -
          Field Original Value New Value
          Component/s template-project [ 15623 ]
          Component/s subversion [ 15485 ]
          bicschneider Claus Schneider made changes -
          Labels scm subversion svn git git-plugin scm subversion svn
          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
          scm_issue_link SCM/JIRA link daemon made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          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.
          brantone Brantone made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Assignee Brantone [ brantone ]
          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
          rtyler R. Tyler Croy made changes -
          Workflow JNJira [ 157328 ] JNJira + In-Review [ 186224 ]

            People

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

              Dates

              • Created:
                Updated: