-
Improvement
-
Resolution: Fixed
-
Major
-
None
-
Jenkins 1.446 on RHEL 6
Plugin:run-condition, 0.6,
Plugin:flexible-publish, 0.7
Plugin:token-macro, 1.5.1,
Plugin:conditional-buildstep,
Plugin:any-buildstep, 0.1,
Set up a job, where the job is has options set for
This build is parameterized
Set a STRING/Choice parameter called TEST_STRING_PARM
add a Post-build Actions -> Flexible publish item
and set Run? = "Strings Match"
Set String 1 = $TEST_STRING_PARM
Set String 2 = test_value
Set any action to be called here
Save and build
Build log gives Exception that it cannot expand the macro, and fails the build.
Run condition [Always] enabling perform for step [Trigger parameterized build on other projects]
Exception caught evaluating condition: [org.jenkinsci.plugins.tokenmacro.MacroEvaluationException: Unrecognized macro 'CONFIG_ENABLE_TASKS' in '$CONFIG_ENABLE_TASKS'], action = [Fail the build]