From c6a2771572b4d99ed4d438ca8a0e2e398807827e Mon Sep 17 00:00:00 2001 From: Christian Beikov Date: Mon, 14 Aug 2023 15:32:10 +0200 Subject: [PATCH] Fix driver file overwrite problems --- Jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Jenkinsfile b/Jenkinsfile index 92c2bd9f87..f6b0c12fdc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -266,7 +266,7 @@ stage('Build') { try { if (buildEnv.dbLockableResource == null) { withCredentials([file(credentialsId: 'sybase-jconnect-driver', variable: 'jconnect_driver')]) { - sh 'cp $jconnect_driver ./drivers/jconn4.jar' + sh 'cp -f $jconnect_driver ./drivers/jconn4.jar' timeout( [time: buildEnv.longRunning ? 480 : 120, unit: 'MINUTES'] ) { sh cmd }