Changeset c57f59d


Ignore:
Timestamp:
Sep 10, 2019, 10:54:58 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:
fdb6ac6
Parents:
249091f
Message:

Tentative fix for call to eachLine which had some warnings

Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    r249091f rc57f59d  
    230230        def newRef = Settings.GitNewRef
    231231
    232         def revisions = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim()
     232        def revisions = sh(returnStdout: true, script: "git rev-list ${oldRef}..${newRef}").trim().readLines()
    233233        def gitUpdate = ""
    234234
    235         revisions.eachLine {
    236                 def rev = it
     235        revisions.each { rev ->
    237236                def type = sh(returnStdout: true, script: "git cat-file -t ${rev}").trim()
    238237                gitUpdate = gitUpdate + "       via  ${rev} (${type})"
Note: See TracChangeset for help on using the changeset viewer.