Skip to content

Commit fd6497c

Browse files
author
Tim Roes
authored
Create scans of gradle builds (#22583)
1 parent 4f97ad7 commit fd6497c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/bin/release_version.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ docker login -u "${DOCKER_HUB_USERNAME}" -p "${DOCKER_HUB_PASSWORD}"
2929
source ./tools/bin/bump_version.sh
3030

3131
echo "Building and publishing PLATFORM version $NEW_VERSION for git revision $GIT_REVISION..."
32-
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew clean build
33-
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew publish
32+
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew clean build --scan
33+
VERSION=$NEW_VERSION SUB_BUILD=PLATFORM ./gradlew publish --scan
3434

3535
# Container should be running before build starts
3636
# It generates binaries to build images for different CPU architecture

tools/bin/release_version_octavia.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ docker login --username "${DOCKER_HUB_USERNAME}" --password "${DOCKER_HUB_PASSWO
1919
source ./tools/bin/bump_version.sh
2020

2121
echo "Building and publishing OCTAVIA version ${NEW_VERSION} for git revision ${GIT_REVISION}..."
22-
VERSION=$NEW_VERSION SUB_BUILD=OCTAVIA_CLI ./gradlew clean build
22+
VERSION=$NEW_VERSION SUB_BUILD=OCTAVIA_CLI ./gradlew clean build --scan
2323
./octavia-cli/publish.sh ${NEW_VERSION} ${GIT_REVISION}
2424
echo "Completed building and publishing OCTAVIA..."

0 commit comments

Comments
 (0)