I'm trying to build token-macro-plugin locally, but I'm getting the below
failures.
When running in Eclipse, I see that breakpoints in the classes that
implement the macros (e.g. EnvironmentVariableMacro) are not shown as
active (i.e. no checkmarks on them when I'm stopped at other breakpoints).
And, indeed, the breakpoints are not getting hit. So it seems that for some
reason the macros are not being registered.
Any ideas?
Thanks,
David
Tests in error:
testEnvironmentVariableExpansion(org.jenkinsci.plugins.tokenmacro.impl.EnvironmentVariableMacroTest):
Unrecognized macro 'ENV' in '${ENV,var="JOB_NAME"}'
testPropertyFromFileExpansion(org.jenkinsci.plugins.tokenmacro.impl.PropertyFromFileMacroTest):
Unrecognized macro 'PROPFILE' in
'${PROPFILE,file="test.properties",property="test.property"}'
testBasics(org.jenkinsci.plugins.tokenmacro.TokenMacroTest): Unrecognized
macro 'BUILD_URL' in '${BUILD_URL}'
testNested(org.jenkinsci.plugins.tokenmacro.TokenMacroTest): Unrecognized
macro 'TEST_NESTED' in '${TEST_NESTED}'
testEscaped(org.jenkinsci.plugins.tokenmacro.TokenMacroTest):
Unrecognized macro 'TEST_NESTED' in '\$TEST_NESTED$TEST_NESTED'