mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-13 19:31:08 +03:30
Delete 'Jenkinsfile'
This commit is contained in:
Vendored
-26
@@ -1,26 +0,0 @@
|
|||||||
pipeline {
|
|
||||||
agent {
|
|
||||||
node {
|
|
||||||
label 'willa'
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
stages {
|
|
||||||
stage('build') {
|
|
||||||
steps {
|
|
||||||
sh 'docker build -t registry.willaspace.com/willaspace/$IMAGE_NAME:latest .'
|
|
||||||
sh 'cd /home/administrator/apps/$IMAGE_NAME/;sudo ./BuildDocker'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stage('deploy') {
|
|
||||||
steps {
|
|
||||||
sh 'cd /home/administrator/apps/$IMAGE_NAME/ ; docker-compose up -d'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
environment {
|
|
||||||
IMAGE_NAME = 'cssd'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user