Changeset 6b6c26e


Ignore:
Timestamp:
Sep 10, 2019, 11:04:46 AM (5 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
aa8e8301
Parents:
fdb6ac6
Message:

Tentative fix for call to eachLine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rfdb6ac6 r6b6c26e  
    224224//Routine responsible of sending the email notification once the build is completed
    225225//===========================================================================================================
     226@NonCPS
     227def SplitLines(String text) {
     228        def list = []
     229
     230        text.eachLine {
     231                list += it
     232        }
     233
     234        return list
     235}
     236
    226237def GitLogMessage() {
    227238        if (!Settings || !Settings.GitOldRef || !Settings.GitNewRef) return "\nERROR retrieveing git information!\n"
     
    231242
    232243        def revText = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
    233         def revList = []
    234         revText.eachLine {
    235                 revList += it
    236         }
     244        def revList = SplitLines( revText )
    237245
    238246        def gitUpdate = ""
Note: See TracChangeset for help on using the changeset viewer.