Changeset 143cbf1 for Jenkins/tools.groovy
- Timestamp:
- Dec 4, 2020, 1:05:09 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 6cdec7e
- Parents:
- 6a531ab
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/tools.groovy
r6a531ab r143cbf1 37 37 //checkout the source code and clean the repo 38 38 if(commitHash) { 39 final scmVars = checkout([$class: 'GitSCM', branches: [[name: commitHash ]]]) 39 echo "Checking out commit <${commitHash}>" 40 final scmVars = checkout([$class: 'GitSCM', branches: [[name: commitHash ]], userRemoteConfigs: [[url: 'cforall@plg.uwaterloo.ca:software/cfa/cfa-cc']]]) 40 41 echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT) 41 42 } else { 42 43 43 final scmVars = checkout scm 44 44 echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT)
Note: See TracChangeset
for help on using the changeset viewer.