summaryrefslogtreecommitdiff
path: root/nightly.jenkinsfile
diff options
context:
space:
mode:
authortgrogers <[email protected]>2019-06-12 17:05:58 -0400
committertgrogers <[email protected]>2019-06-12 17:05:58 -0400
commitaa5f3aaeaa645f9d578fdadad25321e95a5f2058 (patch)
treee877b2ec3904a7ca2af4ea8d3f07c6ebf53e6062 /nightly.jenkinsfile
parentc50eccb192a9b42df922ea8053efd0709c37e2c0 (diff)
Adding the results repo checkin
Diffstat (limited to 'nightly.jenkinsfile')
-rw-r--r--nightly.jenkinsfile6
1 files changed, 5 insertions, 1 deletions
diff --git a/nightly.jenkinsfile b/nightly.jenkinsfile
index 86f3055..520310c 100644
--- a/nightly.jenkinsfile
+++ b/nightly.jenkinsfile
@@ -73,7 +73,11 @@ pipeline {
source `pwd`/setup_environment &&\
./gpgpu-sim_simulations/util/plotting/plot-correlation.py -c per-kernel-merge-9.1.csv \
-p cuda-9.1.nightly -b ./gpgpu-sim_simulations/util/plotting/known.correlation.outliers.list \
- | grep "Correl=" | tee correl.9.1.txt'
+ | grep "Correl=" | tee correl.9.1.txt &&\
+ cp stats-per-*.csv ./gpgpu-sim-results-repo/${JOB_NAME}/ &&\
+ cd ./gpgpu-sim-results-repo &&\
+ git diff --quiet && git diff --staged --quiet || git commit -am "Jenkins automated checkin ${BUILD_NUMBER}" &&\
+ git push'
sh 'PLOTDIR="/home/dynamo/a/tgrogers/website/gpgpu-sim-plots/jenkins/${JOB_NAME}" &&\
ssh [email protected] mkdir -p $PLOTDIR/${BUILD_NUMBER} && \