Commit f7a85ad1 authored by carignani's avatar carignani
Browse files

minor fixes

parent 8f2203fd
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -27,7 +27,7 @@ pipeline {
                        ],
                        submoduleCfg: [],
                        userRemoteConfigs: [[
                        credentialsId: '731ae722-2828-45b8-83f4-ae59fe1cae50', 
                        credentialsId: 'Jenkins', 
                        url: "${env.gitlabSourceRepoSshUrl}" ]]
                    ]
                    sh 'git log --oneline -n 5'
@@ -39,7 +39,7 @@ pipeline {
                        $class: 'GitSCM', branches: [[name: '*/master']], 
                        doGenerateSubmoduleConfigurations: false, extensions: [], 
                        submoduleCfg: [], userRemoteConfigs: [[
                        credentialsId: '731ae722-2828-45b8-83f4-ae59fe1cae50', 
                        credentialsId: 'Jenkins', 
                        url: 'git@forge.3gpp.org:tools/3gpp-scripts.git']]
                    ]
                }
@@ -76,16 +76,18 @@ pipeline {
                )}"""
            }

            updateGitlabCommitStatus name: 'Validate', 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}"
            
            updateGitlabCommitStatus name: 'Validate', state: 'failed'
        }
    }
}