Files
jenkins-shared-library/jenkinsfile-fullbuild
T
2026-09-30 14:30:19 +00:00

10 lines
373 B
Plaintext

@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') } }
}
}