CI: add testnet0 test to Jenkins

This commit is contained in:
Ștefan Talpalaru 2020-03-10 18:01:04 +01:00 committed by tersec
parent a327c82820
commit f20ebf5cd1
1 changed files with 6 additions and 5 deletions

11
Jenkinsfile vendored
View File

@ -29,11 +29,12 @@ def runStages() {
stage("Test suite") {
sh "make -j${env.NPROC} DISABLE_TEST_FIXTURES_SCRIPT=1 test"
}
//if ("${NODE_NAME}" ==~ /linux.*/) {
//stage("testnet finalization") {
//sh "scripts/launch_local_testnet.sh --testnet 1 --disable-htop -- --verify-finalization --stop-at-epoch=5"
//}
//}
if ("${NODE_NAME}" ==~ /linux.*/) {
stage("testnet finalization") {
sh "./scripts/launch_local_testnet.sh --testnet 0 --nodes 4 --disable-htop -- --verify-finalization --stop-at-epoch=5"
//sh "./scripts/launch_local_testnet.sh --testnet 1 --disable-htop -- --verify-finalization --stop-at-epoch=5"
}
}
}
)
}