Details
-
Bug
-
Status: Resolved (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
flexible-publish-plugin 0.15.1
token-macro 1.10
Description
The latest version of flexible publish plugin can no expand variables in a multiconfiguration job.
I get this error in the parent job:
Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'profile' in '$profile'], action = [Fail the build]
Downgrading to 0.14.1 of this plugin fixes the problem. Any version higher than 0.14.1 is broken.
I'm attaching a config.xml to this ticket.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | bap [ bap ] | ikedam [ ikedam ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Resolved [ 5 ] |
Workflow | JNJira [ 163431 ] | JNJira + In-Review [ 197196 ] |
Reproduced in my environment.
Looks a regression in 0.15.
I'll prepare a new release to fix the issue soon.
For now, any of following ways works as a workaround.
A. Downgrade flexible-publish to 0.14.1 or ealier.
B. Open "Advanced..." and select "Don't run" for "On evaluation failure"
C. Check "Condition for Matrix Aggregation" and select "Never" for "Run on Parent?".