Code files
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
stage('DeployMongo'){
|
||||
steps {
|
||||
sh 'source ~/.bashrc && cd infrastructure && sh build.sh mongo'
|
||||
}
|
||||
}
|
||||
stage('DeployRedis'){
|
||||
steps {
|
||||
sh 'source ~/.bashrc && cd infrastructure && sh build.sh redis'
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user