diff options
Diffstat (limited to 'nightly.jenkinsfile')
| -rw-r--r-- | nightly.jenkinsfile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile index 51e2d05..0813ea8 100644 --- a/nightly.jenkinsfile +++ b/nightly.jenkinsfile @@ -22,6 +22,7 @@ pipeline { } stage('nightly-simulations-build'){ steps{ + sh 'cp -r ./gpgpu-sim_simulations ./gpgpu-sim_simulations_bak' sh 'rm -rf gpgpu-sim_simulations' sh 'git clone [email protected]:purdue-aalp/gpgpu-sim_simulations.git && \ cd gpgpu-sim_simulations && \ @@ -76,6 +77,7 @@ pipeline { | grep "Correl=" | tee correl.9.1.txt &&\ cp stats-per-*.csv ./gpgpu-sim-results-repo/${JOB_NAME}/ &&\ cd ./gpgpu-sim-results-repo &&\ + git pull &&\ git diff --quiet && git diff --staged --quiet || git commit -am "Jenkins automated checkin ${JOB_NAME} Build:${BUILD_NUMBER}" &&\ git push' |
