Changeset dea0b69


Ignore:
Timestamp:
Sep 9, 2019, 5:14:52 PM (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:
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.