Using

    stages {
        stage('input') {
            input {
                message 'Apply changes'
                submitterParameter 'COMMITTER'
}//, parameters: [string(defaultValue: 'herp', description: '', name: 'derp')]
            steps {
                echo "${env.COMMITTER}"
            }
        }
    }

I at least get the variable set within my stage, but still not in post. In my production file I would like to send out an email to request the approval from the team, so moving the input out of the stage is not really nice, as the mail would have to be sent from a different stage.

Regards,
Lukas

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6123561c-53ac-afae-6e59-c3b21114f1b2%40ngworx.ag.

Reply via email to