Configured CI/CD with docker and jenkins

This commit is contained in:
Artyom Belousov 2019-10-15 00:21:15 +03:00
parent a715a3c1b8
commit e22e908ce5
11 changed files with 104 additions and 1 deletions

21
Jenkinsfile vendored Normal file
View file

@ -0,0 +1,21 @@
pipeline {
agent any
stages {
stage('Pull') {
steps {
git pull
}
}
stage('Test') {
steps {
./deploy.sh test
}
}
stage('Deploy') {
steps {
./deploy.sh prod
}
}
}
}