Skip to content

Commit

Permalink
Add support for adding a suffix to the GCS upload dir in jenkins/build
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Oct 24, 2016
1 parent 2975727 commit 4f9a2d7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions hack/jenkins/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,12 @@ else
#exit 1
fi
[[ -n "${KUBE_GCS_RELEASE_BUCKET-}" ]] \
&& bucket_flag="--bucket=${KUBE_GCS_RELEASE_BUCKET-}"
&& bucket_flag="--bucket=${KUBE_GCS_RELEASE_BUCKET-}"
${FEDERATION} && federation_flag="--federation"
${push_build} ${bucket_flag-} ${federation_flag-} --nomock --verbose --ci
[[ -n "${KUBE_GCS_RELEASE_SUFFIX-}" ]] \
&& gcs_suffix_flag="--gcs-suffix=${KUBE_GCS_RELEASE_SUFFIX-}"
${push_build} ${bucket_flag-} ${federation_flag-} ${gcs_suffix_flag-} \
--nomock --verbose --ci
fi

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

0 comments on commit 4f9a2d7

Please sign in to comment.