-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
24 lines (24 loc) · 716 Bytes
/
Jenkinsfile
File metadata and controls
24 lines (24 loc) · 716 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
pipeline {
agent none
environment {
CLUSTER_STAGING = 'kubernetes-sirclo-data-staging'
ENTRYPOINT = '/home/jenkins/entrypoint/entrypoint.sh'
}
stages {
stage("release to staging") {
agent {
kubernetes {
cloud "${CLUSTER_STAGING}"
inheritFrom 'jenkins-agent'
}
}
steps {
container('deployer-buildah') {
sh "${ENTRYPOINT}"
sh 'whoami && buildah bud -t fajar-test:v1 . '
}
}
}
}
}