23 lines
369 B
Groovy
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'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|