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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: 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.Ā 

            Assignee:
            Andrew Bayer
            Reporter:
            tigran mnatsakanyan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: