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

Allow for bash type variable expansion in token-macro-plugin

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • token-macro-plugin
    • None
    • aws linux

      I'm trying to add the following tag value to docker-build-publish-plugin in the form:

      ${GIT_BRANCH#origin/}
      

      if GIT_BRANCH=origin/master, bash would evaluate the expression to:
      master

      Since docker-build-publish-plugin uses token-macro-plugin this should be handled by the tokenizer.

            slide_o_mix Alex Earl
            corby Corby Wilson
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: