|
@ -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 |
|
|