Changeset dea0b69


Ignore:
Timestamp:
Sep 9, 2019, 5:14:52 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr
Children:
fce01e7
Parents:
d0e4f7f
Message:

New syntax test for sh in jenkinsfile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Jenkinsfile

    rd0e4f7f rdea0b69  
    229229        sh "${SrcDir}/tools/PrettyGitLogs.sh ${SrcDir} ${BuildDir} ${Settings.GitOldRef} ${Settings.GitNewRef}"
    230230
    231         def result = sh "git rev-list ${Settings.GitOldRef}..${Settings.GitNewRef}"
     231        def result = sh(returnStdout: true, script: "git rev-list ${Settings.GitOldRef}..${Settings.GitNewRef}")
    232232        echo result
    233233
    234234        def gitUpdate = readFile("${BuildDir}/GIT_UPDATE")
    235         def gitLog    = sh "git rev-list --format=short ${Settings.GitOldRef}...${Settings.GitNewRef}"
     235        def gitLog    = sh(returnStdout: true, script: "git rev-list --format=short ${Settings.GitOldRef}...${Settings.GitNewRef}")
    236236        def gitDiff   = readFile("${BuildDir}/GIT_DIFF")
    237237
Note: See TracChangeset for help on using the changeset viewer.