Loading Jenkinsfile +2 −5 Original line number Diff line number Diff line Loading @@ -69,9 +69,6 @@ pipeline { success { script { if (env.resolveSucceded == "false") { updateGitlabCommitStatus name: 'Resolve', state: 'failed' } RECIPIENT = """${sh( returnStdout: true, script: "cd apis && git log --format='%ae' HEAD^!" Loading @@ -83,7 +80,7 @@ pipeline { subject: "[3GPP Forge] Validation succeeded: ${currentBuild.fullDisplayName}", body: "Your contribution to 3GPP Forge was applied successfully and, " + "after running the validation process for all the files in the repository, " + "no critial errors were detected. " + "no critial errors were detected.\n" + "Detailed information in the 'Console output' at ${env.BUILD_URL}" } Loading @@ -104,7 +101,7 @@ pipeline { body: "Your contribution to 3GPP Forge was applied successfully; however, " + "after running the validation process for all the files in the repository, " + "some errors were detected (they may, or may not be related to your own " + "contribution). Please check the 'Console output' at ${env.BUILD_URL}" "contribution).\nPlease check the 'Console output' at ${env.BUILD_URL}" updateGitlabCommitStatus name: 'Validate', state: 'failed' } Loading sa5-data-models-validation.jenkinsfile +19 −4 Original line number Diff line number Diff line Loading @@ -84,6 +84,24 @@ pipeline { archiveArtifacts artifacts: '**/*.log' } success { script { RECIPIENT = """${sh( returnStdout: true, script: "cd ./data-models && git log --format='%ae' HEAD^!" )}""" } echo "Sending email to: ${RECIPIENT}" mail to: "${RECIPIENT}", subject: "[3GPP Forge] Validation succeeded: ${currentBuild.fullDisplayName}", body: "Your contribution to 3GPP Forge was applied successfully and, " + "after running the validation process for all the files in the repository, " + "no critial errors were detected.\n" + "Detailed information in the 'Console output' at ${env.BUILD_URL}" } failure { script { if (env.resolveSucceded == "false") { Loading @@ -97,16 +115,13 @@ pipeline { updateGitlabCommitStatus name: 'Validate OpenAPI', state: 'failed' mail to: 'cti_support@etsi.org', subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Something is wrong with ${env.BUILD_URL}" echo "Sending email to: ${RECIPIENT}" mail to: "${RECIPIENT}", subject: "[3GPP Forge] Validation failed: ${currentBuild.fullDisplayName}", body: "Your contribution to 3GPP Forge was applied successfully; however, " + "after running the validation process for all the files in the repository, " + "some errors were detected (they may, or may not be related to your own " + "contribution). Please check the 'Console output' at ${env.BUILD_URL}" "contribution).\nPlease check the 'Console output' at ${env.BUILD_URL}" } } } Loading
Jenkinsfile +2 −5 Original line number Diff line number Diff line Loading @@ -69,9 +69,6 @@ pipeline { success { script { if (env.resolveSucceded == "false") { updateGitlabCommitStatus name: 'Resolve', state: 'failed' } RECIPIENT = """${sh( returnStdout: true, script: "cd apis && git log --format='%ae' HEAD^!" Loading @@ -83,7 +80,7 @@ pipeline { subject: "[3GPP Forge] Validation succeeded: ${currentBuild.fullDisplayName}", body: "Your contribution to 3GPP Forge was applied successfully and, " + "after running the validation process for all the files in the repository, " + "no critial errors were detected. " + "no critial errors were detected.\n" + "Detailed information in the 'Console output' at ${env.BUILD_URL}" } Loading @@ -104,7 +101,7 @@ pipeline { body: "Your contribution to 3GPP Forge was applied successfully; however, " + "after running the validation process for all the files in the repository, " + "some errors were detected (they may, or may not be related to your own " + "contribution). Please check the 'Console output' at ${env.BUILD_URL}" "contribution).\nPlease check the 'Console output' at ${env.BUILD_URL}" updateGitlabCommitStatus name: 'Validate', state: 'failed' } Loading
sa5-data-models-validation.jenkinsfile +19 −4 Original line number Diff line number Diff line Loading @@ -84,6 +84,24 @@ pipeline { archiveArtifacts artifacts: '**/*.log' } success { script { RECIPIENT = """${sh( returnStdout: true, script: "cd ./data-models && git log --format='%ae' HEAD^!" )}""" } echo "Sending email to: ${RECIPIENT}" mail to: "${RECIPIENT}", subject: "[3GPP Forge] Validation succeeded: ${currentBuild.fullDisplayName}", body: "Your contribution to 3GPP Forge was applied successfully and, " + "after running the validation process for all the files in the repository, " + "no critial errors were detected.\n" + "Detailed information in the 'Console output' at ${env.BUILD_URL}" } failure { script { if (env.resolveSucceded == "false") { Loading @@ -97,16 +115,13 @@ pipeline { updateGitlabCommitStatus name: 'Validate OpenAPI', state: 'failed' mail to: 'cti_support@etsi.org', subject: "Failed Pipeline: ${currentBuild.fullDisplayName}", body: "Something is wrong with ${env.BUILD_URL}" echo "Sending email to: ${RECIPIENT}" mail to: "${RECIPIENT}", subject: "[3GPP Forge] Validation failed: ${currentBuild.fullDisplayName}", body: "Your contribution to 3GPP Forge was applied successfully; however, " + "after running the validation process for all the files in the repository, " + "some errors were detected (they may, or may not be related to your own " + "contribution). Please check the 'Console output' at ${env.BUILD_URL}" "contribution).\nPlease check the 'Console output' at ${env.BUILD_URL}" } } }