Fix driver file overwrite problems

This commit is contained in:
Christian Beikov 2023-08-14 15:32:10 +02:00
parent 8630d79e79
commit c6a2771572
1 changed files with 1 additions and 1 deletions

2
Jenkinsfile vendored
View File

@ -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
}