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

environment variables like COMMIT_ID, GIT_BRANCH etc are not published to kubernetes agent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • kubernetes-plugin
    • None

      For a multibranch pipeline, using declarative syntax, if job runs on a kubernetes agent with kubernetes plugin https://github.com/jenkinsci/kubernetes-plugin then environment variables like GIT_COMMIT, GIT_BRANCH etc are not available on the node. 

            abayer Andrew Bayer
            tigran10 tigran mnatsakanyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: