Changeset a12cd594


Ignore:
Timestamp:
Dec 4, 2020, 1:35:13 PM (10 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
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.