File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525 <configuration >
2626 <tstampFormat >yyyy-MM-dd</tstampFormat >
2727 <customProperties >
28- { :build-tag-lowercase (clojure.string/lower -case build-tag ) }
28+ { :build-commit-uppercase (clojure.string/upper -case build-commit ) }
2929 </customProperties >
3030 </configuration >
3131 </execution >
Original file line number Diff line number Diff line change @@ -6,7 +6,9 @@ def build_log = new File("target/it/custom-properties/build.log").text
66
77boolean tstamp = (build_log =~ / build-tstamp: \d\d\d\d -\d\d -\d\d / )
88
9- boolean customLowerCaseProperty = ( build_log =~ / build-tag-lowercase: n\/ a/ )
109
11- return tstamp && customLowerCaseProperty
10+ // expect an all-uppercased git commit hash
11+ boolean customProperty = ( build_log =~ / build-commit-uppercase: [0-9A-F]{40}/ )
12+
13+ return tstamp && customProperty
1214
You can’t perform that action at this time.
0 commit comments