Fix driver file overwrite problems
This commit is contained in:
parent
7170403fcf
commit
6c54c1abbb
|
@ -266,7 +266,7 @@ stage('Build') {
|
||||||
try {
|
try {
|
||||||
if (buildEnv.dbLockableResource == null) {
|
if (buildEnv.dbLockableResource == null) {
|
||||||
withCredentials([file(credentialsId: 'sybase-jconnect-driver', variable: 'jconnect_driver')]) {
|
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'] ) {
|
timeout( [time: buildEnv.longRunning ? 480 : 120, unit: 'MINUTES'] ) {
|
||||||
sh cmd
|
sh cmd
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue