2017-07-31 11:33:31 +05:30

23 lines
369 B
Groovy

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'
}
}
}
}