Skip to content

Commit

Permalink
fix: disable tests from main pom (#3700)
Browse files Browse the repository at this point in the history
* fix: disable tests from main pom

* fix: change to install and skip tests for release
  • Loading branch information
diegomarquezp authored Nov 21, 2022
1 parent 5985950 commit eb55151
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions kokoro/ubuntu/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ sed -i.bak -e "s,JDK_11_HOME,/usr/lib/jvm/java-1.11.0-openjdk-amd64," .github/wo
# https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/972324
# - Single-quotes are necessary for `-Dproduct.version.qualifier.suffix`,
# since it should be appended as a constant string in a date format.
#TMPDIR= xvfb-run \
#mvn -V -B \
#--toolchains=.github/workflows/toolchains.xml \
#-Doauth.client.id="${OAUTH_CLIENT_ID}" \
#-Doauth.client.secret="${OAUTH_CLIENT_SECRET}" \
#-Dfirelog.api.key="${FIRELOG_API_KEY}" \
#${PRODUCT_VERSION_SUFFIX:+-Dproduct.version.qualifier.suffix="'${PRODUCT_VERSION_SUFFIX}'"} \
#clean verify
TMPDIR= xvfb-run \
mvn -V -B \
--toolchains=.github/workflows/toolchains.xml \
-DskipTests=true \
-Doauth.client.id="${OAUTH_CLIENT_ID}" \
-Doauth.client.secret="${OAUTH_CLIENT_SECRET}" \
-Dfirelog.api.key="${FIRELOG_API_KEY}" \
${PRODUCT_VERSION_SUFFIX:+-Dproduct.version.qualifier.suffix="'${PRODUCT_VERSION_SUFFIX}'"} \
clean install

0 comments on commit eb55151

Please sign in to comment.