Changeset 032fd93
- Timestamp:
- Dec 3, 2020, 9:11:17 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:
- 68f2e42
- Parents:
- 1de50a9
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/tools.groovy
r1de50a9 r032fd93 36 36 BuildStage('Checkout', true) { 37 37 //checkout the source code and clean the repo 38 final scmVars = ref ? checkout scm : checkout([$class: 'GitSCM', branches: [[name: commitHash ]]]) 38 if(ref) { 39 final scmVars = checkout([$class: 'GitSCM', branches: [[name: commitHash ]]]) 40 echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT) 41 } else { 39 42 40 echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT) 43 final scmVars = checkout scm 44 echo GitLogMessage(scmVars.GIT_COMMIT, scmVars.GIT_PREVIOUS_COMMIT) 45 } 41 46 } 42 47 }
Note: See TracChangeset
for help on using the changeset viewer.