mirror of
https://github.com/corda/corda.git
synced 2025-01-18 02:39:51 +00:00
Fix prepare script and cash config check
This commit is contained in:
parent
cca71e3d6e
commit
74e65f392f
@ -7,7 +7,7 @@ mkdir -p deps/corda/${VERSION}/apps
|
||||
mkdir -p deps/drivers
|
||||
|
||||
# Copy Corda capsule into deps
|
||||
cp $(ls ../../node/capsule/build/libs/corda-*.jar | tail -n1) deps/corda/${VERSION}/corda.jar
|
||||
cp -v $(ls ../../node/capsule/build/libs/corda-*.jar | tail -n1) deps/corda/${VERSION}/corda.jar
|
||||
|
||||
# Download database drivers
|
||||
curl "https://search.maven.org/remotecontent?filepath=com/h2database/h2/1.4.196/h2-1.4.196.jar" > deps/drivers/h2-1.4.196.jar
|
||||
@ -20,5 +20,5 @@ cd ../..
|
||||
|
||||
# Copy build artefacts into deps
|
||||
cd experimental/behave
|
||||
cp ../../tools/bootstrapper/build/libs/*.jar deps/corda/${VERSION}/network-bootstrapper.jar
|
||||
cp ../../finance/build/libs/corda-finance-*.jar deps/corda/${VERSION}/apps/corda-finance.jar
|
||||
cp -v $(ls ../../tools/bootstrapper/build/libs/*.jar | tail -n1) deps/corda/${VERSION}/network-bootstrapper.jar
|
||||
cp -v $(ls ../../finance/build/libs/corda-finance-*.jar | tail -n1) deps/corda/${VERSION}/apps/corda-finance.jar
|
||||
|
@ -21,8 +21,9 @@ class Cash(state: ScenarioState) : Substeps(state) {
|
||||
log.info("Can issue $issuableCurrency")
|
||||
}
|
||||
return@withClient config.issuableCurrencies.size
|
||||
} catch (_: Exception) {
|
||||
return@withClient 0
|
||||
} catch (ex: Exception) {
|
||||
log.warn("Failed to retrieve cash configuration data", ex)
|
||||
throw ex
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user