ci: load Pipeline definition from SCM
This commit is contained in:
1 parent
7223b117a9
commit
9d5a684806
1 file changed
+5
Vendored
+5
@@ -0,0 +1,5 @@
|
||||
node {
|
||||
stage('SCM Jenkinsfile') { checkout([$class: 'GitSCM', branches: [[name: '*/master']], userRemoteConfigs: [[url: 'http://service-6acce8de4873e494859dc96e:3000/codex-test/demo-ci-lab.git']], extensions: []]) }
|
||||
try { stage('构建与测试') { sh 'sh ci/demo-build.sh'; junit 'reports/*.xml' } }
|
||||
finally { stage('归档') { archiveArtifacts artifacts: 'artifacts/*', allowEmptyArchive: true } }
|
||||
}
|
||||
Reference in new issue
Block a user