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

Add GIT_COMMIT to build environment

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Component/s: git-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      GIT_COMMIT is only added to a temp environment. Would be nice if it was available to other plugins.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Andrew Bayer
          Path:
          src/main/java/hudson/plugins/git/GitSCM.java
          http://jenkins-ci.org/commit/git-plugin/58a2cb35efd1df046bbf2de88d9c168cc3ef3beb
          Log:
          [FIXED JENKINS-9253] Added GIT_COMMIT environment variable available during build.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Andrew Bayer Path: src/main/java/hudson/plugins/git/GitSCM.java http://jenkins-ci.org/commit/git-plugin/58a2cb35efd1df046bbf2de88d9c168cc3ef3beb Log: [FIXED JENKINS-9253] Added GIT_COMMIT environment variable available during build.
          Hide
          dogfood dogfood added a comment -

          Integrated in plugins_git-plugin #111
          [FIXED JENKINS-9253] Added GIT_COMMIT environment variable available during build.

          Andrew Bayer : 58a2cb35efd1df046bbf2de88d9c168cc3ef3beb
          Files :

          • src/main/java/hudson/plugins/git/GitSCM.java
          Show
          dogfood dogfood added a comment - Integrated in plugins_git-plugin #111 [FIXED JENKINS-9253] Added GIT_COMMIT environment variable available during build. Andrew Bayer : 58a2cb35efd1df046bbf2de88d9c168cc3ef3beb Files : src/main/java/hudson/plugins/git/GitSCM.java

            People

            • Assignee:
              abayer Andrew Bayer
              Reporter:
              yossis yossis
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: