mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 15:21:06 +03:30
Added Jenkinsfile
This commit is contained in:
Vendored
+25
@@ -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'
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user