|
@ -24,18 +24,30 @@ docker-compose build''' |
|
|
sh '''docker-compose up -d |
|
|
sh '''docker-compose up -d |
|
|
./start_BEER_OTHER_trade.sh ETH |
|
|
./start_BEER_OTHER_trade.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)''' |
|
|
|
|
|
} |
|
|
|
|
|
post { |
|
|
|
|
|
always { |
|
|
|
|
|
sh '''docker-compose logs --timestamps --tail=999 |
|
|
|
|
|
docker ps |
|
|
docker-compose down''' |
|
|
docker-compose down''' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
stage('Trade ETH/BEER') { |
|
|
stage('Trade ETH/BEER') { |
|
|
steps { |
|
|
steps { |
|
|
sh '''docker-compose up -d |
|
|
sh '''docker-compose up -d |
|
|
./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)''' |
|
|
|
|
|
} |
|
|
|
|
|
post { |
|
|
|
|
|
always { |
|
|
|
|
|
sh '''docker-compose logs --timestamps --tail=999 |
|
|
|
|
|
docker ps |
|
|
docker-compose down''' |
|
|
docker-compose down''' |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |