Configured CI/CD with docker and jenkins
This commit is contained in:
parent
a715a3c1b8
commit
e22e908ce5
11 changed files with 104 additions and 1 deletions
21
Jenkinsfile
vendored
Normal file
21
Jenkinsfile
vendored
Normal 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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue