diff options
| author | tgrogers <[email protected]> | 2019-07-08 12:56:33 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2019-07-08 12:56:33 -0400 |
| commit | 39cb04c33e4f69986e7427d2a832e1eddc473129 (patch) | |
| tree | 332f98f9093f20494ff799f881c23471bb381f52 | |
| parent | ce63582472e027107783b81be40b2429bd8e8f73 (diff) | |
Don't backup simulations if its not there
| -rw-r--r-- | nightly.jenkinsfile | 2 |
1 files changed, 1 insertions, 1 deletions
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 [email protected]:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ |
