Changeset 6a531ab for Jenkins


Ignore:
Timestamp:
Dec 4, 2020, 12:52:04 PM (3 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:
143cbf1
Parents:
8271891
Message:

Quick build now uses new AST.
Moved some more common code to tools.groovy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkins/tools.groovy

    r8271891 r6a531ab  
    6161}
    6262
    63 def GitLogMessage(String oldRef, String newRef) {
     63PrevGitOldRef = ''
     64PrevGitNewRef = ''
     65def GitLogMessage(String oldRef = '', String newRef = '') {
     66        if (!PrevGitOldRef || !oldRef) return "\nERROR retrieveing git information!\n"
     67        PrevGitOldRef = oldRef
     68
     69        if (!PrevGitNewRef || !newRef) return "\nERROR retrieveing git information!\n"
     70        PrevGitNewRef = newRef
     71
    6472        def revText = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
    6573        def revList = SplitLines( revText )
Note: See TracChangeset for help on using the changeset viewer.