Commit 9fa32cc4 authored by carignani's avatar carignani
Browse files

Update Jenkinsfile

parent 3093aced
Loading
Loading
Loading
Loading
+18 −7
Original line number Diff line number Diff line
@@ -14,14 +14,25 @@ pipeline {
    		    sh 'echo Resolve stage'
                updateGitlabCommitStatus name: 'jenkins', state: 'pending'
                
                checkout changelog: true, poll: true, scm: [
                   $class: 'GitSCM',
                   branches: [[name: "origin/${env.gitlabSourceBranch}"]],
                checkout changelog: true, poll: false, scm: [
                    $class: 'GitSCM', branches: [[name: "origin/${env.gitlabSourceBranch}"]],
                    doGenerateSubmoduleConfigurations: false,
                   extensions: [[$class: 'PreBuildMerge', options: [fastForwardMode: 'FF', mergeRemote: 'origin', mergeStrategy: 'DEFAULT', mergeTarget: "${env.gitlabTargetBranch}"]]],
                   submoduleCfg: []
                    extensions: [[$class: 'PreBuildMerge', options: [
                       fastForwardMode: 'FF', mergeRemote: 'origin', mergeStrategy: 'DEFAULT', 
                       mergeTarget: "${env.gitlabTargetBranch}"]]
                    ],
                    submoduleCfg: [],
                    userRemoteConfigs: [[
                    credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', 
                    url: ${env.gitlabSourceRepoSshUrl}]]
                ]
                checkout changelog: false, poll: false, scm: [
                   $class: 'GitSCM', branches: [[name: '*/master']], 
                   doGenerateSubmoduleConfigurations: false, extensions: [], 
                   submoduleCfg: [], userRemoteConfigs: [[
                   credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', 
                   url: 'git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git']]
                   ]
                checkout changelog: false, poll: false, scm: [$class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', url: 'git@forge.etsi.org:cti/forge-tools/3gpp-scripts.git']]]
                updateGitlabCommitStatus name: 'Resolve', state: 'success'
            }
		}