Changeset a12cd594


Ignore:
Timestamp:
Dec 4, 2020, 1:35:13 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
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
Message:

Messed up last commit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/tools.groovy

    rd4e338f ra12cd594  
    6868PrevGitNewRef = ''
    6969def 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 } }
    7572
    7673        def revText = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
Note: See TracChangeset for help on using the changeset viewer.