Skip to content

Commit 2c4a1fc

Browse files
committed
Use absolute dates in Jenkins git-log.
1 parent c0eff97 commit 2c4a1fc

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

scripts/common

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ update() {
1010
(git fetch "https://github.com/$1/$2.git" $4 && git checkout -fq FETCH_HEAD) #|| git checkout -fq $4 # || fallback is for local testing on tag
1111
git reset --hard
1212
echo updated $1/$2:$4 under $3. Last commits:
13-
git log --pretty=format:"%h - %an, %ar : %s" -n 10 # show last commits
13+
git log --pretty=format:"%h - %an, %aD : %s" -n 10 # show last commits
1414
cd -
1515
}
1616

scripts/jobs/validate/junit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ baseDir=${WORKSPACE-`pwd`}
44
scriptsDir="$baseDir/scripts"
55
. $scriptsDir/common
66

7-
git log --pretty=format:"%h - %an, %ar : %s" -n 10
7+
git log --pretty=format:"%h - %an, %aD : %s" -n 10
88
update DarkDimius scala scala-scala dotty-library
99
sbt $sbtArgs update compile test

scripts/jobs/validate/partest

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ baseDir=${WORKSPACE-`pwd`}
44
scriptsDir="$baseDir/scripts"
55
. $scriptsDir/common
66

7-
git log --pretty=format:"%h - %an, %ar : %s" -n 10
7+
git log --pretty=format:"%h - %an, %aD : %s" -n 10
88

99
sbt $sbtArgs update compile "partest-only run --show-diff --verbose"
1010

0 commit comments

Comments
 (0)