Commit 5268a23d authored by carignani's avatar carignani
Browse files

fix email recipient configuration

parent 1dcdd99d
Loading
Loading
Loading
Loading
+48 −51
Original line number Diff line number Diff line
@@ -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}"