Skip to content

Commit

Permalink
chore: update release script for jib-maven-plugin (#4013)
Browse files Browse the repository at this point in the history
* add workaround to append flag to JAVA_TOOL_OPTIONS
  • Loading branch information
emmileaf authored May 12, 2023
1 parent 8c7ccae commit 6d08897
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jib-maven-plugin/kokoro/release_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ set -o errexit
# Display commands to stderr.
set -o xtrace

# Append to JAVA_TOOL_OPTIONS to suppress warnings from kokoro container os.
if [ "${KOKORO_JOB_CLUSTER}" = "GCP_UBUNTU_DOCKER" ]; then
JAVA_TOOL_OPTIONS="${JAVA_TOOL_OPTIONS} -Xlog:os+container=error"
fi

cd github/jib
./gradlew :jib-maven-plugin:prepareRelease

0 comments on commit 6d08897

Please sign in to comment.