submitter option not worked Role in Jenkins pipeline syntax

248 views
Skip to first unread message

Mahesh Wabale

unread,
Aug 9, 2018, 11:30:07 AM8/9/18
to Jenkins Users
I am using jenkins 2.73 with blueocean pipeline , trying role based authentication support .  

Here is Jenkins file syntax for submittor for manually approved step :
 
pipeline {
agent any
stages {
stage('Build') {
steps {
echo 'Building..'
input(message: 'Do you want to proceed', id: 'yes', ok: 'yes', submitter: "developer", submitterParameter: "developer")
}
} } }

created globle role developer and assign role to login user . 
Above syntax works if i give comma separated list of users for submitter parameter .
But its not work role "developer" . Appreciate your help to resolve above issue .

Getting error message as : "You need to be developer to submit this" 
Reply all
Reply to author
Forward
0 new messages