From 21b2b5d18243b269daf730af47fd2814b2d43d7a Mon Sep 17 00:00:00 2001 From: janehe Date: Wed, 18 Sep 2024 01:19:06 +0000 Subject: [PATCH] delete "{}" --- Jenkinsfile-asf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile-asf b/Jenkinsfile-asf index 9d5ed6050bf..5641dff0ffb 100644 --- a/Jenkinsfile-asf +++ b/Jenkinsfile-asf @@ -63,8 +63,8 @@ pipeline { def executeTests() { def container_id = sh(script: "docker run -td -e TEST_JAVA_VERSION=${TEST_JAVA_VERSION} -e SERVER_VERSION=${SERVER_VERSION} -v \$(pwd):/home/docker/cassandra-java-driver apache.jfrog.io/cassan-docker/apache/cassandra-java-driver-testing-ubuntu2204 'sleep 2h'", returnStdout: true).trim() - sh "docker exec --user root ${container_id} bash -c \"sudo bash /home/docker/cassandra-java-driver/ci/create-user.sh docker $(id -u) $(id -g) /home/docker/cassandra-java-driver\"" - sh "docker exec --user docker ${container_id} './cassandra-java-driver/ci/run-tests.sh'" + sh "docker exec --user root $container_id bash -c \"sudo bash /home/docker/cassandra-java-driver/ci/create-user.sh docker $(id -u) $(id -g) /home/docker/cassandra-java-driver\"" + sh "docker exec --user docker $container_id './cassandra-java-driver/ci/run-tests.sh'" } // branch pattern for cron