Changeset d4e338f
- Timestamp:
- Dec 4, 2020, 1:24:21 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:
- 6a45bd78, a12cd594
- Parents:
- 6c0ef72
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Jenkins/tools.groovy
r6c0ef72 rd4e338f 68 68 PrevGitNewRef = '' 69 69 def GitLogMessage(String oldRef = '', String newRef = '') { 70 if (!PrevGitOldRef && !oldRef) return "\nERROR retrieveing git information!\n" 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 71 73 PrevGitOldRef = oldRef 72 73 if (!PrevGitNewRef && !newRef) return "\nERROR retrieveing previous git information!\n"74 74 PrevGitNewRef = newRef 75 75 … … 93 93 gitDiff = gitDiff.replace('[31m', '<span style="color: #AA0000;">') 94 94 gitDiff = gitDiff.replace('[m', '</span>') 95 96 PrevGitOldRef = oldRef 97 PrevGitNewRef = newRef 95 98 96 99 return """
Note: See TracChangeset
for help on using the changeset viewer.