ci: Add Jenkins build pipeline
Some checks failed
infra/dch-webhooks/pipeline/head There was a failure building this commit
Some checks failed
infra/dch-webhooks/pipeline/head There was a failure building this commit
This commit is contained in:
9
ci/Jenkinsfile
vendored
Normal file
9
ci/Jenkinsfile
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
@Library('containerimages')
|
||||
@Library('dch')_
|
||||
|
||||
buildContainerImage2(project: 'infra', defaultBranch: 'master', archlist: ['amd64', 'arm64'])
|
||||
stage('Deploy') {
|
||||
when(env.BRANCH_NAME == "master") {
|
||||
kubeRestartDeployment(namespace: 'default')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user