Skip to content

Commit

Permalink
Change date -R for JOBSTARTTIME to use a more compatible format (adop…
Browse files Browse the repository at this point in the history
…tium#2128)

Signed-off-by: Andrew Leonard <anleonar@redhat.com>
  • Loading branch information
andrew-m-leonard authored Dec 17, 2020
1 parent ca7b04a commit 20a13c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildenv/jenkins/JenkinsfileBase
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def makeTest(testParam) {
}

def setupEnv() {
env.JOBSTARTTIME = sh(script: 'date -R', returnStdout: true)
env.JOBSTARTTIME = sh(script: 'LC_TIME=C date +"%a, %d %b %Y %T %z"', returnStdout: true).trim()

// Check what existing java processes are running
echo "PROCESSCATCH: Java processes which are currently on the machine:"
Expand Down

0 comments on commit 20a13c2

Please sign in to comment.