Add jenkinsfile-fullbuild

This commit is contained in:
khaled committed 2026-09-30 14:30:19 +00:00
1 parent 121517700c
commit 1e667040d6
1 file changed
+10
+10
View File
@@ -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') } }
}
}