Use build all before integration tests (#419)

This commit is contained in:
gusto 2023-09-19 12:00:51 +03:00 committed by GitHub
parent 5f040d5be7
commit 21fac726dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 8 deletions

View File

@ -84,20 +84,13 @@ pipeline {
def runBuildAndTestsForFeature(feature, tests) {
echo "Building node for feature: ${feature}"
def build_node = "cargo build -p nomos-node --no-default-features --features ${feature}"
def build_node = "cargo build --all --no-default-features --features ${feature}"
if (sh(script: build_node, returnStatus: true) != 0) {
error("Build '${feature}' node failed")
return
}
def build_mixnode = "cargo build -p mixnode"
if (sh(script: build_mixnode, returnStatus: true) != 0) {
error("Build '${feature}' mixnode failed")
return
}
int iterations = params.ITERATIONS.toInteger()
runTestCases(tests, iterations)
}