Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 80041c5

Browse files
david-mcmahonixdy
authored andcommitted
Call push-ci-build.sh from the kubernetes/release repo.
1 parent 9d0a1f8 commit 80041c5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

hack/jenkins/build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ go run ./hack/e2e.go -v --build
6767
# Push to GCS?
6868
if [[ ${KUBE_SKIP_PUSH_GCS:-} =~ ^[yY]$ ]]; then
6969
echo "Not pushed to GCS..."
70-
elif ${RELEASE_INFRA_PUSH-}; then
70+
else
7171
readonly release_infra_clone="${WORKSPACE}/_tmp/release.git"
7272
mkdir -p ${WORKSPACE}/_tmp
7373
git clone https://github.com/kubernetes/release ${release_infra_clone}
@@ -84,9 +84,7 @@ elif ${RELEASE_INFRA_PUSH-}; then
8484
${FEDERATION} && federation_flag="--federation"
8585
${SET_NOMOCK_FLAG} && mock_flag="--nomock"
8686
${release_infra_clone}/push-ci-build.sh ${bucket_flag-} ${federation_flag-} \
87-
${mock_flag-}
88-
else
89-
./build/push-ci-build.sh
87+
${mock_flag-} --verbose
9088
fi
9189

9290
sha256sum _output/release-tars/kubernetes*.tar.gz

0 commit comments

Comments
 (0)