-
Task
-
Resolution: Won't Fix
-
Minor
-
None
-
TEST
Hi Team,
I am using below code where in hubotApprove command do not have my id in submitter list but still it lets me approve or abort when I trigger this pipeline:
stage ('Request Approval from #devOps on rocket.chat') {
steps {
wrap([$class: 'BuildUser']) {
sh """USER=${BUILD_USER_ID}"""
hubotSend site: "forge_trial", message: "Permission requested to delete ${params.project_name} - Other users please approve except $BUILD_USER_ID who has triggered the deletion"
hubotApprove site: "forge_trial", message: "Proceed or Abort $BUILD_URL/input/", submitter: "a,b,c,d", tokens: "$BUILD_NUMBER, $JENKINS_URL"