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.
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?".