Skip to content

Commit 7e7eb51

Browse files
committed
ci-build.sh: add section comments, for clarity
1 parent 71b6386 commit 7e7eb51

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

ci-build.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ escapeXML() {
3131
# Build Maven projects.
3232
if [ -f pom.xml ]; then
3333
echo ::group::"= Maven build ="
34+
35+
# --== MAVEN SETUP ==--
36+
3437
echo
3538
echo "== Configuring Maven =="
3639

@@ -84,6 +87,8 @@ if [ -f pom.xml ]; then
8487
EOL
8588
fi
8689

90+
# --== DEPLOYMENT CHECKS ==--
91+
8792
# Determine whether deploying will be possible.
8893
echo "Performing deployment checks"
8994
deployOK=
@@ -138,6 +143,8 @@ EOL
138143
echo "All checks passed for artifact deployment"
139144
fi
140145

146+
# --== GPG SETUP ==--
147+
141148
# Install GPG on macOS
142149
if [ "$MACOS" ]; then
143150
HOMEBREW_NO_AUTO_UPDATE=1 brew install gnupg2
@@ -158,6 +165,8 @@ EOL
158165
checkSuccess $?
159166
fi
160167

168+
# --== BUILD EXECUTION ==--
169+
161170
# Run the build.
162171
BUILD_ARGS='-B -Djdk.tls.client.protocols="TLSv1,TLSv1.1,TLSv1.2"'
163172
if [ "$deployOK" -a -f release.properties ]; then
@@ -212,6 +221,9 @@ EOL
212221
mvn $BUILD_ARGS install javadoc:javadoc
213222
checkSuccess $?
214223
fi
224+
225+
# --== POST-BUILD ACTIONS ==--
226+
215227
echo ::endgroup::
216228
fi
217229

0 commit comments

Comments
 (0)