Files
provisioning/dockerfiles/services/gitea/Jenkinsfile
Richard Morgan 3a70a80ea9 - add gitea healthcheck and Jenkinsfile
- make jenkins logging connect to fluentd asynchronously
2018-10-26 22:46:12 -04:00

21 lines
489 B
Groovy

node('docker') {
def workdir = 'dockerfiles/services/gitea'
stage('prepare') {
git credentialsId: 'f1f58215-c789-44a2-9b72-50e4425cb061', url: 'ssh://git@git.xai-corp.net:10022/xai-corp.net/provisioning.git'
sh 'ls'
}
stage('build') {
dir(workdir) {
//nothing to do
}
}
stage('deploy') {
dir(workdir) {
sh "DOCKER_HOST=dkhost:2376 docker stack deploy -c docker-compose.yml gitea"
}
}
}