From 39cb04c33e4f69986e7427d2a832e1eddc473129 Mon Sep 17 00:00:00 2001 From: tgrogers Date: Mon, 8 Jul 2019 12:56:33 -0400 Subject: Don't backup simulations if its not there --- nightly.jenkinsfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile index 0813ea8..98cd8d1 100644 --- a/nightly.jenkinsfile +++ b/nightly.jenkinsfile @@ -22,7 +22,7 @@ pipeline { } stage('nightly-simulations-build'){ steps{ - sh 'cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak' + sh 'if [ -d "./gpgpu-sim_simulations" ]; then cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak fi' sh 'rm -rf gpgpu-sim_simulations' sh 'git clone git@github.com:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ -- cgit v1.3