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

Git/Gerrit environment Variables are not available in Maven projects

      In Maven project when the trigger is set to Poll git SCM or Gerrit trigger the Git/Gerrit parameters are not part of the maven project environment Variables as they are in freestyle projects and Multijob Projects.
      i am refering to these environment Variables:

      GERRIT_EVENT_TYPE
      GERRIT_CHANGE_URL
      GERRIT_BRANCH
      GERRIT_CHANGE_OWNER_EMAIL
      GERRIT_CHANGE_SUBJECT

      GIT_COMMIT
      GIT_URL
      GIT_BRANCH

          [JENKINS-24948] Git/Gerrit environment Variables are not available in Maven projects

          Doron Shai created issue -
          rin_ne made changes -
          Attachment New: pom.xml [ 27736 ]
          rin_ne made changes -
          Component/s New: maven-plugin [ 16033 ]
          Doron Shai made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 158844 ] New: JNJira + In-Review [ 195907 ]
          Mark Waite made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]

            rsandell rsandell
            doronshai Doron Shai
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: