-
Improvement
-
Resolution: Unresolved
-
Minor
-
None
pipeline {
agent any
environment {
//
buildUser = '';
}
tools {
maven 'M3'
}
stages {
stage('build user') {
steps {
wrap([$class: 'BuildUser']) {
sh 'echo "${BUILD_USER}"'
script {
buildUser="${BUILD_USER}";
//exit sucess does not work
return;
}
}
}
}
}
Forwarded to the Pipeline team, because it may be a case for documentation/improvement.
Note that it's better to ask such questions in the user mailing lists.