Changeset a12cd594
- Timestamp:
- Dec 4, 2020, 1:35:13 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:
- 9c4ad67
- Parents:
- d4e338f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/tools.groovy
rd4e338f ra12cd594 68 68 PrevGitNewRef = '' 69 69 def GitLogMessage(String oldRef = '', String newRef = '') { 70 if (!oldRef) { if(!PrevGitOldRef) { return "\nERROR retrieveing current git information!\n" } else { PreGitOldRef = oldRef } } 71 if (!newRef) { if(!PrevGitNewRef) { return "\nERROR retrieveing previous git information!\n" } else { PreGitNewRef = newRef } } 72 73 PrevGitOldRef = oldRef 74 PrevGitNewRef = newRef 70 if (!oldRef) { if(!PrevGitOldRef) { return "\nERROR retrieveing current git information!\n" } else { oldRef = PreGitOldRef } } 71 if (!newRef) { if(!PrevGitNewRef) { return "\nERROR retrieveing previous git information!\n" } else { newRef = PreGitNewRef } } 75 72 76 73 def revText = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
Note: See TracChangeset
for help on using the changeset viewer.