Browse Source

Add Trade stage to Jenkins pipeline.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
f639b824c4
  1. 11
      Jenkinsfile

11
Jenkinsfile

@ -9,14 +9,17 @@ cp -r /root/.env.seed .env.seed'''
} }
stage('Build') { stage('Build') {
steps { steps {
sh '''echo $HOME sh '''git submodule update --init --recursive
git submodule update --init --recursive
rm -rf build rm -rf build
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
cmake --build . --target marketmaker-testnet cmake --build . --target marketmaker-testnet'''
docker-compose build }
}
stage('Trade') {
steps {
sh '''docker-compose build
docker-compose up -d docker-compose up -d
./start_BEER_ETH_trade.sh ./start_BEER_ETH_trade.sh
sleep 300 sleep 300

Loading…
Cancel
Save