Hubotapprove does not exclude build_user from approve/abort

XMLWordPrintable

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Minor
    • Component/s: hubot-steps-plugin
    • None
    • Environment:
      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"

            Assignee:
            Naresh Rayapati
            Reporter:
            Rashmi Nair
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: