From 6ea3b3e14bc57bb0e4a13c2a469df2f0d5bd40a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20L=C3=B3pez=20Le=C3=B3n?= Date: Sun, 9 Jun 2024 12:50:02 -0300 Subject: [PATCH] Jenkinsfile: change check for missing data directory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Diego López León --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 009ddb3dd..27b0d5570 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -29,7 +29,7 @@ pipeline { sh "sudo cp ./build/bin/geth /usr/bin/ && which geth" sh "geth version" sh "rm -rf ${GETH_DATADIR}-mordor" - sh "ls ${GETH_DATADIR}-mordor" + sh "test ! -f ${GETH_DATADIR}-mordor" sh "shasum -a 256 -c ./tests/regression/shasums/mordor.0-1686858.rlp.gz.sha256" sh "geth --mordor --fakepow --cache=2048 --nocompaction --nousb --txlookuplimit=1 --datadir=${GETH_DATADIR}-mordor import ${GETH_EXPORTS}/mordor.0-1686858.rlp.gz" sh "rm -rf ${GETH_DATADIR}"