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

There is no way to escape a $ so that it can be used without an exception

    Details

    • Similar Issues:

      Description

      With the token macro plugin, if I have something like the following "$4000" in my text, there is an exception for unknown macro thrown. There should be a way to escape the $ so that you can actually use a $ in the text of something that is going to be replaced.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alex Earl
            Path:
            src/main/java/org/jenkinsci/plugins/tokenmacro/Tokenizer.java
            src/test/java/org/jenkinsci/plugins/tokenmacro/TokenMacroTest.java
            http://jenkins-ci.org/commit/token-macro-plugin/7f437947b485d56895cff3a6e48450d6192e26bb
            Log:
            Fix JENKINS-12685

            Added ability to escape a $ so it won't be treated as a token.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/java/org/jenkinsci/plugins/tokenmacro/Tokenizer.java src/test/java/org/jenkinsci/plugins/tokenmacro/TokenMacroTest.java http://jenkins-ci.org/commit/token-macro-plugin/7f437947b485d56895cff3a6e48450d6192e26bb Log: Fix JENKINS-12685 Added ability to escape a $ so it won't be treated as a token.
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Olivier Lamy
            Path:
            src/main/java/org/jenkinsci/plugins/tokenmacro/Tokenizer.java
            src/test/java/org/jenkinsci/plugins/tokenmacro/TokenMacroTest.java
            http://jenkins-ci.org/commit/token-macro-plugin/38919bf309fc93f985481959da1705ab1dcd9456
            Log:
            Merge pull request #5 from slide/7f437947b485d56895cff3a6e48450d6192e26bb

            Fix JENKINS-12685
            Thanks !

            Compare: https://github.com/jenkinsci/token-macro-plugin/compare/da2858d...38919bf

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Olivier Lamy Path: src/main/java/org/jenkinsci/plugins/tokenmacro/Tokenizer.java src/test/java/org/jenkinsci/plugins/tokenmacro/TokenMacroTest.java http://jenkins-ci.org/commit/token-macro-plugin/38919bf309fc93f985481959da1705ab1dcd9456 Log: Merge pull request #5 from slide/7f437947b485d56895cff3a6e48450d6192e26bb Fix JENKINS-12685 Thanks ! Compare: https://github.com/jenkinsci/token-macro-plugin/compare/da2858d...38919bf

              People

              • Assignee:
                kohsuke Kohsuke Kawaguchi
                Reporter:
                slide_o_mix Alex Earl
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: