Customize conditions skipped message

10 views
Skip to first unread message

judaondo

unread,
Feb 26, 2020, 2:33:46 PM2/26/20
to Jenkins Users
Hello, 

Having the following code: 

pipeline {
    agent any
    stages {
        stage('Example Build') {
            steps {
                echo 'Hello World'
            }
        }
        stage('Example Deploy') {
            when {
                branch 'production'
            }
            steps {
                echo 'Deploying'
            }
        }
    }
}

If condition is not run it displays:

"Stage "Example Deploy" skipped due to when conditional"

Is there any way tu customize this message?

Thank you.


Reply all
Reply to author
Forward
0 new messages