-
Bug
-
Resolution: Fixed
-
Major
-
None
-
-
285.vff7645a_56ff0
related to issues
https://issues.jenkins.io/browse/JENKINS-67862
https://issues.jenkins.io/browse/JENKINS-67873
Upgraded the Token Macro jenkins plugin to 280.v97a_82642793c but still encountering the error reported in these tickets.
Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Don't run]
Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Fail the build]
Build step 'Conditional steps (multiple)' changed build result to FAILURE
Build step 'Conditional steps (multiple)' marked build as failure
Prior to v277 these jobs ran without issue.
It may be related to the specific syntax in my conditional statement - with is a string beginning with a $.
See the attached screenshot for details.
- relates to
-
JENKINS-67862 Getting error [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens]
-
- Resolved
-
[JENKINS-67916] Continue to get [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens] after upgrade to 280
Description |
Original:
related to issues
https://issues.jenkins.io/browse/JENKINS-67862 https://issues.jenkins.io/browse/JENKINS-67873 Upgraded the Token Macro jenkins plugin to 280 but still encountering the error reported in these tickets. ``` Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Don't run] Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Fail the build] Build step 'Conditional steps (multiple)' changed build result to FAILURE Build step 'Conditional steps (multiple)' marked build as failure ``` Prior to v277 these jobs ran without issue. It may be related to the specific syntax in my conditional statement - with is a string beginning with a $. !TokenMacroConditional.png |
New:
related to issues
https://issues.jenkins.io/browse/JENKINS-67862 https://issues.jenkins.io/browse/JENKINS-67873 Upgraded the Token Macro jenkins plugin to {{280.v97a_82642793c}} but still encountering the error reported in these tickets. {{Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Don't run]}} {{ Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Fail the build]}} {{ Build step 'Conditional steps (multiple)' changed build result to FAILURE}} {{ Build step 'Conditional steps (multiple)' marked build as failure}} Prior to v277 these jobs ran without issue. It may be related to the specific syntax in my conditional statement - with is a string beginning with a $. See the attached screenshot for details. |
Description |
Original:
related to issues
https://issues.jenkins.io/browse/JENKINS-67862 https://issues.jenkins.io/browse/JENKINS-67873 Upgraded the Token Macro jenkins plugin to {{280.v97a_82642793c}} but still encountering the error reported in these tickets. {{Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Don't run]}} {{ Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Fail the build]}} {{ Build step 'Conditional steps (multiple)' changed build result to FAILURE}} {{ Build step 'Conditional steps (multiple)' marked build as failure}} Prior to v277 these jobs ran without issue. It may be related to the specific syntax in my conditional statement - with is a string beginning with a $. See the attached screenshot for details. |
New:
related to issues
https://issues.jenkins.io/browse/JENKINS-67862 https://issues.jenkins.io/browse/JENKINS-67873 Upgraded the Token Macro jenkins plugin to {{280.v97a_82642793c}} but still encountering the error reported in these tickets. {quote}Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Don't run] Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Error processing tokens], action = [Fail the build] Build step 'Conditional steps (multiple)' changed build result to FAILURE Build step 'Conditional steps (multiple)' marked build as failure {quote} Prior to v277 these jobs ran without issue. It may be related to the specific syntax in my conditional statement - with is a string beginning with a $. See the attached screenshot for details. |
Link |
New:
This issue blocks |
Link |
Original:
This issue blocks |
Link |
New:
This issue relates to |
Attachment | New: no_bug.png [ 57370 ] |
We are suffering the same bug as in 277, with the same stacktrace reported by Boon Elschenbroich in https://issues.jenkins.io/browse/JENKINS-67862
The bug is risen when we call a parameterized managed script and one of the parameters is referring a variable without braces.
note: we have other parameterized managed scripts referring variables without braces but only this particular one is rising the exception, AFAWK at the time of this comment.
Workaround:
Add braces to the variable