Skip to content

Commit a8a8cad

Browse files
authored
fix: update Maven version on Kokoro cluster to fix release pipeline (#294)
* update Maven version on Kokoro cluster to fix release pipeline * fix: update Maven version on Kokoro cluster to fix release pipeline
1 parent a39c773 commit a8a8cad

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.kokoro/release.sh

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,16 @@
33
# Stop execution when any command fails.
44
set -e
55

6+
# update the Maven version to 3.6.3
7+
pushd /usr/local
8+
wget https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.6.3/apache-maven-3.6.3-bin.tar.gz
9+
tar -xvzf apache-maven-3.6.3-bin.tar.gz apache-maven-3.6.3
10+
rm -f /usr/local/apache-maven
11+
ln -s /usr/local/apache-maven-3.6.3 /usr/local/apache-maven
12+
rm apache-maven-3.6.3-bin.tar.gz
13+
popd
14+
15+
616
# Get secrets from keystore and set and environment variables.
717
setup_environment_secrets() {
818
export GPG_TTY=$(tty)

0 commit comments

Comments
 (0)