Loading Jenkinsfile +48 −51 Original line number Diff line number Diff line Loading @@ -70,19 +70,16 @@ pipeline { if (env.resolveSucceded == "false") { updateGitlabCommitStatus name: 'Resolve', state: 'failed' } RECIPIENT = """${sh( returnStdout: true, script: "git log --format='%ae' HEAD^!" )}""" } updateGitlabCommitStatus name: 'Validate', state: 'failed' mail to: 'cti_support@etsi.org', subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Something is wrong with ${env.BUILD_URL}" RECIPIENT = """${sh( returnStdout: true, script: "git log --format='%ae' HEAD^!" )}""" mail to: "${RECIPIENT}", subject: "[3GPP Forge] Validaiton failed: ${currentBuild.fullDisplayName}", body: "Some validation errors were found in your contribution to 3GPP Forge. Review at ${env.BUILD_URL}" Loading Loading
Jenkinsfile +48 −51 Original line number Diff line number Diff line Loading @@ -70,19 +70,16 @@ pipeline { if (env.resolveSucceded == "false") { updateGitlabCommitStatus name: 'Resolve', state: 'failed' } RECIPIENT = """${sh( returnStdout: true, script: "git log --format='%ae' HEAD^!" )}""" } updateGitlabCommitStatus name: 'Validate', state: 'failed' mail to: 'cti_support@etsi.org', subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Something is wrong with ${env.BUILD_URL}" RECIPIENT = """${sh( returnStdout: true, script: "git log --format='%ae' HEAD^!" )}""" mail to: "${RECIPIENT}", subject: "[3GPP Forge] Validaiton failed: ${currentBuild.fullDisplayName}", body: "Some validation errors were found in your contribution to 3GPP Forge. Review at ${env.BUILD_URL}" Loading