Lines Matching +full:- +full:- +full:fail +full:- +full:under
4 # Licensed under the Apache License, Version 2.0 (the "License");
8 # http://www.apache.org/licenses/LICENSE-2.0
11 # distributed under the License is distributed on an "AS IS" BASIS,
14 # limitations under the License.
16 set -eu
18 fail() { function
23 cd "$BUILD_WORKSPACE_DIRECTORY" || fail "BUILD_WORKSPACE_DIRECTORY not found"
27 [ -z "${MAVEN_USER+x}" ] && \
28 fail "Set MAVEN_USER to the Sonatype OSSRH user"
29 [ -z "${MAVEN_PASSWORD+x}" ] && \
30 fail "Set MAVEN_PASSWORD to the Sonatype OSSRH password"
31 [ -z "${JAZZER_JAR_PATH+x}" ] && \
32 …fail "Set JAZZER_JAR_PATH to the absolute path of jazzer.jar obtained from the release GitHub Acti…
33 [ ! -f "${JAZZER_JAR_PATH}" ] && \
34 fail "JAZZER_JAR_PATH does not exist at '$JAZZER_JAR_PATH'"
40 bazel build //deploy:jazzer-docs //deploy:jazzer-sources //deploy:jazzer-pom
42 JAZZER_DOCS_PATH=$PWD/$(bazel cquery --output=files //deploy:jazzer-docs)
43 JAZZER_SOURCES_PATH=$PWD/$(bazel cquery --output=files //deploy:jazzer-sources)
44 JAZZER_POM_PATH=$PWD/$(bazel cquery --output=files //deploy:jazzer-pom)
46 bazel run --define "maven_repo=${MAVEN_REPO}" --define "maven_user=${MAVEN_USER}" \
47 --define "maven_password=${MAVEN_PASSWORD}" --define gpg_sign=true \
48 //deploy:jazzer-api.publish
49 …jvm_external//private/tools/java/com/github/bazelbuild/rules_jvm_external/maven:MavenPublisher -- \
52 bazel run --define "maven_repo=${MAVEN_REPO}" --define "maven_user=${MAVEN_USER}" \
53 --define "maven_password=${MAVEN_PASSWORD}" --define gpg_sign=true \
54 //deploy:jazzer-junit.publish