test-dashboard
All checks were successful
gitea-lenape/dashboard-hw/pipeline/head This commit looks good
All checks were successful
gitea-lenape/dashboard-hw/pipeline/head This commit looks good
This commit is contained in:
55
Jenkinsfile
vendored
Executable file
55
Jenkinsfile
vendored
Executable file
@@ -0,0 +1,55 @@
|
||||
pipeline {
|
||||
|
||||
agent none
|
||||
|
||||
options {
|
||||
|
||||
disableConcurrentBuilds(abortPrevious: true)
|
||||
|
||||
buildDiscarder(logRotator(numToKeepStr: '1'))
|
||||
}
|
||||
|
||||
stages {
|
||||
|
||||
|
||||
stage('docker compose build') {
|
||||
|
||||
agent {
|
||||
|
||||
label "xochi"
|
||||
|
||||
}
|
||||
|
||||
steps {
|
||||
|
||||
dir('.') {
|
||||
|
||||
sh 'docker compose build'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
stage('docker compose push') {
|
||||
|
||||
agent {
|
||||
|
||||
label "xochi"
|
||||
|
||||
}
|
||||
|
||||
steps {
|
||||
|
||||
dir('.') {
|
||||
|
||||
sh 'docker compose push'
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}}
|
Reference in New Issue
Block a user