Added Jenkinsfile

This commit is contained in:
admin
2020-12-30 18:32:48 +00:00
parent e01846f883
commit 9ca426a0c2
Vendored
+25
View File
@@ -0,0 +1,25 @@
pipeline {
agent {
node {
label 'willa'
}
}
stages {
stage('build') {
steps {
sh ' - docker build -t $IMAGE_NAME:latest .'
}
}
stage('deploy') {
steps {
dir(path: '/home/administrator/apps/cssd')
}
}
}
environment {
IMAGE_NAME = 'CSSD'
}
}