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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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.Ā 

            Assignee:
            Andrew Bayer
            Reporter:
            tigran mnatsakanyan
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: