Loading Jenkinsfile +11 −1 Original line number Diff line number Diff line Loading @@ -13,14 +13,24 @@ pipeline { steps{ sh 'echo Resolve stage' updateGitlabCommitStatus name: 'jenkins', state: 'pending' checkout scm checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: "origin/${env.gitlabSourceBranch}"]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'PreBuildMerge', options: [fastForwardMode: 'FF', mergeRemote: 'origin', mergeStrategy: 'DEFAULT', mergeTarget: "${env.gitlabTargetBranch}"]]], submoduleCfg: [], userRemoteConfigs: [[name: 'origin', url: 'git@gitlab.example.com:foo/testrepo.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' } } stage('Validate') { steps{ sh 'echo Validate stage' sh 'bash ./validate-all.sh' updateGitlabCommitStatus name: 'Validate', state: 'success' } } stage('Deploy to FTP') { Loading Loading
Jenkinsfile +11 −1 Original line number Diff line number Diff line Loading @@ -13,14 +13,24 @@ pipeline { steps{ sh 'echo Resolve stage' updateGitlabCommitStatus name: 'jenkins', state: 'pending' checkout scm checkout changelog: true, poll: true, scm: [ $class: 'GitSCM', branches: [[name: "origin/${env.gitlabSourceBranch}"]], doGenerateSubmoduleConfigurations: false, extensions: [[$class: 'PreBuildMerge', options: [fastForwardMode: 'FF', mergeRemote: 'origin', mergeStrategy: 'DEFAULT', mergeTarget: "${env.gitlabTargetBranch}"]]], submoduleCfg: [], userRemoteConfigs: [[name: 'origin', url: 'git@gitlab.example.com:foo/testrepo.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' } } stage('Validate') { steps{ sh 'echo Validate stage' sh 'bash ./validate-all.sh' updateGitlabCommitStatus name: 'Validate', state: 'success' } } stage('Deploy to FTP') { Loading