Branch: refs/heads/stable-3.10
  Home:   https://github.com/jenkinsci/git-plugin
  Commit: af6040e51871600b317122ee9b5b443b410b0182
      
https://github.com/jenkinsci/git-plugin/commit/af6040e51871600b317122ee9b5b443b410b0182
  Author: Mark Waite <[email protected]>
  Date:   2019-07-15 (Mon, 15 Jul 2019)

  Changed paths:
    M src/main/resources/hudson/plugins/git/GitSCM/buildEnv.properties

  Log Message:
  -----------
  [JENKINS-42609] Improve env var descriptions

The environment variables available from the git plugin have surprising
differences related to how the values of the variables are calculated.
Many of the variables are calculated based on the checkout performed by
the current job in the current workspace.  Those include:

 * GIT_BRANCH
 * GIT_COMMIT
 * GIT_LOCAL_BRANCH
 * GIT_PREVIOUS_COMMIT
 * GIT_PREVIOUS_SUCCESSFUL_COMMIT
 * ...

The values of four of the variables are calculated based on the git
global configuration from 'Configure System' of the 'Manage Jenkins' page.
They are:

 * GIT_AUTHOR_EMAIL
 * GIT_AUTHOR_NAME
 * GIT_COMMITTER_EMAIL
 * GIT_COMMITTER_NAME

My incorrect assumption had been that the values of those four variables
were calculated based on the most recent commit in the current workspace.
That is not correct.

They are taken from the global configuration in 'Configure System'
of the 'Manage Jenkins' page.


  Commit: 3dea2a4da6d2c72fc8ed747d8492ccdccb3b7328
      
https://github.com/jenkinsci/git-plugin/commit/3dea2a4da6d2c72fc8ed747d8492ccdccb3b7328
  Author: Mark Waite <[email protected]>
  Date:   2019-07-15 (Mon, 15 Jul 2019)

  Changed paths:
    M src/main/resources/hudson/plugins/git/GitSCM/buildEnv.properties

  Log Message:
  -----------
  Merge pull request #732 from MarkEWaite/improve-env-var-descriptions

[JENKINS-42609] Improve env var descriptions


Compare: 
https://github.com/jenkinsci/git-plugin/compare/3d5c24c542ae...3dea2a4da6d2

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/git-plugin/push/refs/heads/stable-3.10/3d5c24-3dea2a%40github.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to