"Variables can be used to make values available when building plans in Bamboo."
I created a new variable called "warning.num" and tried to use this in the Build parser configuration in the field: Fail build threshold.
However, I've got: "Fail build threshold must be a number."
Is it possible to use a variable in that task field?
Thanks
I'm assuming that you're using
$bamboo.warning.num
in the entry, and not just
warning.num
?
Under default plan configuration -> variables I've added:
trunk.warnings.num with value 2
Then in build warnings parser I set the threshold to:
${trunk.warnings.num}
or
${bamboo.trunk.warnings.num}
or
$bamboo.trunk.warnings.num
All the time I get: Fail build threshold must be a number.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Maybe that field can't bet set as a variable? It's also possible that the value is being parsed as the literal string "2", in which case that won't work either. Hrm. I've never used the Build Warnings Task, though.
I'd recommend opening a support ticket with Atlassian, then.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.