[JIRA] (JENKINS-38420) BUILD_LOG_REGEX not replacing since plugin v2.0
Title: Message Title Alex Earl resolved as Fixed Will be fixed in 2.1 Jenkins / JENKINS-38420 BUILD_LOG_REGEX not replacing since plugin v2.0 Change By: Alex Earl Status: Open Resolved Resolution: Fixed Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38420) BUILD_LOG_REGEX not replacing since plugin v2.0
Title: Message Title Alex Earl commented on JENKINS-38420 Re: BUILD_LOG_REGEX not replacing since plugin v2.0 FYI, the macro parsing was changed for 2.0 to allow more advanced capabilities. This is why the behavior changed in 2.0. I added a test to the test suite to cover this case. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38420) BUILD_LOG_REGEX not replacing since plugin v2.0
Title: Message Title Daniel Sandberg commented on JENKINS-38420 Re: BUILD_LOG_REGEX not replacing since plugin v2.0 Thank you very much. Removing the whitespace at the end solved the issue. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38420) BUILD_LOG_REGEX not replacing since plugin v2.0
Title: Message Title SCM/JIRA link daemon commented on JENKINS-38420 Re: BUILD_LOG_REGEX not replacing since plugin v2.0 Code changed in jenkins User: Alex Earl Path: .gitignore src/main/java/org/jenkinsci/plugins/tokenmacro/Parser.java src/test/java/org/jenkinsci/plugins/tokenmacro/TokenMacroTest.java http://jenkins-ci.org/commit/token-macro-plugin/e9b416c4b2af6dc1be10f28f50e7c9b958686bce Log: Fix JENKINS-38420 Add optional whitespace before the end brace Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38420) BUILD_LOG_REGEX not replacing since plugin v2.0
Title: Message Title Alex Earl commented on JENKINS-38420 Re: BUILD_LOG_REGEX not replacing since plugin v2.0 The issue is the space at the end before the }. If you need it fixed now, just remove that space. I'll add in a check for whitespace in the parser for the next version. Add Comment This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c) -- You received this message because you are subscribed to the Google Groups "Jenkins Issues" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[JIRA] (JENKINS-38420) BUILD_LOG_REGEX not replacing since plugin v2.0
Title: Message Title Daniel Sandberg created an issue Jenkins / JENKINS-38420 BUILD_LOG_REGEX not replacing since plugin v2.0 Issue Type: Bug Assignee: Alex Earl Components: token-macro-plugin Created: 2016/Sep/21 2:07 PM Environment: Ubuntu 16.04 LTS Token macro plugin 2.0 Jenkins 2.7.4 (standalone) Build name setter plugin 1.6.5 OpenJDK 1.8.0 Priority: Minor Reporter: Daniel Sandberg Log line: 14:58:18 version: 1.0.0-SNAPSHOT Using the "build name setter" plugin: #${BUILD_NUMBER} - {GIT_BRANCH}/${GIT_REVISION,length=6}/${BUILD_LOG_REGEX, regex="^.*?version: (.*?)$", substText="$1", maxMatches=1, showTruncatedLines=false } Expected result (works with TMP 1.12.1): #42 - origin/master/21dbab/1.0.0-SNAPSHOT Actual result (using TMP 2.0):