aboutsummaryrefslogtreecommitdiff
path: root/kokoro
diff options
context:
space:
mode:
authorambrosin <ambrosin@google.com>2022-12-12 03:33:52 -0800
committerCopybara-Service <copybara-worker@google.com>2022-12-12 03:34:59 -0800
commit5b92d6a3254384defe1fe2d9f0651dc64aa43d96 (patch)
tree5317ef051cb76b99fb80ef527675200eb6174793 /kokoro
parent8853818acf36b87dfb8e70fdfb5157f3c32fe978 (diff)
downloadtink-5b92d6a3254384defe1fe2d9f0651dc64aa43d96.tar.gz
Disable publishing snapshots on postsubmit.
PiperOrigin-RevId: 494682699
Diffstat (limited to 'kokoro')
-rwxr-xr-xkokoro/run_tests.sh14
1 files changed, 2 insertions, 12 deletions
diff --git a/kokoro/run_tests.sh b/kokoro/run_tests.sh
index 2090efef2..ce4d000a0 100755
--- a/kokoro/run_tests.sh
+++ b/kokoro/run_tests.sh
@@ -218,18 +218,8 @@ test_maven_packages() {
return
fi
- local -a maven_script_flags
- if [[ "${KOKORO_JOB_NAME:-}" != "tink/github/gcp_ubuntu/continuous" ]]; then
- # Unless running the GitHub continuous job, deploy and test Maven packages
- # locally.
- #
- # Otherwise, snapshots will be published to the Maven Central repository.
- maven_script_flags+=( -l )
- fi
- readonly maven_script_flags
-
- ./maven/publish_snapshot.sh "${maven_script_flags[@]}"
- ./maven/test_snapshot.sh "${maven_script_flags[@]}"
+ ./maven/publish_snapshot.sh -l
+ ./maven/test_snapshot.sh -l
}
main() {