Browse Source

Update Jenkinsfile. Remove ETOMIC/BEER trade.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
c8016d1829
  1. 20
      Jenkinsfile

20
Jenkinsfile

@ -14,7 +14,7 @@ rm -rf build
mkdir build mkdir build
cd build cd build
cmake .. cmake ..
cmake --build . --target marketmaker-testnet cmake --build . --target marketmaker-testnet -j 4
cd ../ cd ../
docker-compose build''' docker-compose build'''
} }
@ -34,24 +34,6 @@ docker-compose down'''
./start_BEER_OTHER_trade_inverted.sh ETH ./start_BEER_OTHER_trade_inverted.sh ETH
timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f clientnode) timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f clientnode)
timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f seednode) timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f seednode)
docker-compose down'''
}
}
stage('Trade BEER/ETOMIC') {
steps {
sh '''docker-compose up -d
./start_BEER_OTHER_trade.sh ETOMIC
timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f clientnode)
timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f seednode)
docker-compose down'''
}
}
stage('Trade ETOMIC/BEER') {
steps {
sh '''docker-compose up -d
./start_BEER_OTHER_trade_inverted.sh ETOMIC
timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f clientnode)
timeout 600 grep -q "SWAP completed" <(COMPOSE_HTTP_TIMEOUT=600 docker-compose logs -f seednode)
docker-compose down''' docker-compose down'''
} }
} }

Loading…
Cancel
Save