From 33e3080afaef4691e4dc94075acafebd3cf90b36 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Mon, 25 Mar 2019 13:58:32 +0100 Subject: [PATCH] Make moving files more robust --- Jenkinsfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 47d2180..3d21081 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -24,8 +24,9 @@ pipeline { sh 'mkdir -p tmp' dir ('tmp') { git([ url: "https://github.internet2.edu/docker/util.git", credentialsId: "jenkins-github-access-token" ]) - sh 'ls' - sh 'mv bin/* ../bin/.' + sh 'ls -l' + sh 'ls -l ../bin' + sh 'mv -f bin/* ../bin/.' } // Build and test scripts expect that 'tag' is present in common.bash. This is necessary for both Jenkins and standalone testing. // We don't care if there are more 'tag' assignments there. The latest one wins.