Add jenkinsfile-fullbuild
This commit is contained in:
1 parent
121517700c
commit
1e667040d6
1 file changed
+10
@@ -0,0 +1,10 @@
|
||||
@Library('sphinx-lib') _
|
||||
|
||||
pipeline {
|
||||
agent { kubernetes { yaml libraryResource('templates/pod.yaml') } }
|
||||
stages {
|
||||
stage('Analyse') { steps { sonarScan('lab-demo') } }
|
||||
stage('Publish') { steps { publishArtifact(file: 'app.tar.gz', path: 'demo/1.0.0') } }
|
||||
stage('Deploy') { steps { deployToK3s(name: 'lab-demo', image: 'nginx') } }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user