Correct env var is BUILD_TAG, not BUILD-TAG. A hyphen in the var name
is a syntax error in Groovy.
Issue: RELENG-3207
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
Change-Id: I30e97b25ae978994e3bd468b83d3363f6dd3fcd8
sh(script: libraryResource('shell/job-cost.sh'))
cost_str = sh(script: "cat $WORKSPACE/archives/cost.csv | cut -d, -f6", returnStdout: true)
- lock("${BUILD-TAG}-stack-cost") {
+ lock("${BUILD_TAG}-stack-cost") {
try {
unstash "stack-cost"
stack_cost = sh(script: "cat stack-cost | awk '{print \$2}", returnStdout: true)