Loading Jenkinsfile +24 −22 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ pipeline { steps{ sh 'echo Resolve stage' updateGitlabCommitStatus name: 'jenkins', state: 'pending' dir('apis') { checkout changelog: true, poll: false, scm: [ $class: 'GitSCM', branches: [[name: "origin/${env.gitlabSourceBranch}"]], doGenerateSubmoduleConfigurations: false, Loading @@ -26,6 +26,8 @@ pipeline { credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', url: "${env.gitlabSourceRepoSshUrl}" ]] ] } dir('scripts'){ checkout changelog: false, poll: false, scm: [ $class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], Loading @@ -39,7 +41,7 @@ pipeline { stage('Validate') { steps{ sh 'echo Validate stage' sh 'bash ./validate-all.sh' sh 'bash ./scripts/validate-all.sh ./apis' updateGitlabCommitStatus name: 'Validate', state: 'success' } } Loading validate-all.sh +2 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ # Copyright ETSI 2019 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt cd $1 ls ls | grep yaml Loading Loading
Jenkinsfile +24 −22 Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ pipeline { steps{ sh 'echo Resolve stage' updateGitlabCommitStatus name: 'jenkins', state: 'pending' dir('apis') { checkout changelog: true, poll: false, scm: [ $class: 'GitSCM', branches: [[name: "origin/${env.gitlabSourceBranch}"]], doGenerateSubmoduleConfigurations: false, Loading @@ -26,6 +26,8 @@ pipeline { credentialsId: 'f9a9fd70-ea8b-4872-a9d5-d1fb1cf8123e', url: "${env.gitlabSourceRepoSshUrl}" ]] ] } dir('scripts'){ checkout changelog: false, poll: false, scm: [ $class: 'GitSCM', branches: [[name: '*/master']], doGenerateSubmoduleConfigurations: false, extensions: [], Loading @@ -39,7 +41,7 @@ pipeline { stage('Validate') { steps{ sh 'echo Validate stage' sh 'bash ./validate-all.sh' sh 'bash ./scripts/validate-all.sh ./apis' updateGitlabCommitStatus name: 'Validate', state: 'success' } } Loading
validate-all.sh +2 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,8 @@ # Copyright ETSI 2019 # See: https://forge.etsi.org/etsi-forge-copyright-statement.txt cd $1 ls ls | grep yaml Loading