Changeset 8f99233 for Jenkinsfile


Ignore:
Timestamp:
Jan 28, 2019, 2:50:45 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer
Children:
692be4e, 80a9898
Parents:
65f4a51
Message:

Second attempt at pipefail using an external script. closes #110

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r65f4a51 r8f99233  
    153153                dir (BuildDir) {
    154154                        //Append bench results
    155                         sh "set -o pipefail; make --no-print-directory -C benchmark jenkins githash=${Settings.GitNewRef} arch=${Settings.Architecture} | tee ${SrcDir}/bench.json"
     155                        sh "${SrcDir}/jenkins.sh ${GitNewRef} ${Architecture} ${BuildDir}/bench.json"
    156156                }
    157157        }
     
    179179
    180180                //Then publish the results
    181                 sh 'curl --silent --show-error -H \'Content-Type: application/json\' --data @bench.json https://cforall.uwaterloo.ca:8082/jenkins/publish > /dev/null || true'
     181                sh 'curl --silent --show-error -H \'Content-Type: application/json\' --data @${BuildDir}/bench.json https://cforall.uwaterloo.ca:8082/jenkins/publish > /dev/null || true'
    182182        }
    183183}
Note: See TracChangeset for help on using the changeset viewer.