Skip to content

Commit

Permalink
hack: fix jenkins delete workspace (coreos#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
hongchaodeng committed Jan 5, 2018
1 parent a760449 commit 0c23d58
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions hack/ci/run_e2e
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ UPGRADE_TEST_SELECTOR=${UPGRADE_TEST_SELECTOR:-""}
UPGRADE_FROM=${UPGRADE_FROM:-"quay.io/coreos/etcd-operator:latest"}
UPGRADE_TO=${UPGRADE_TO:-"quay.io/coreos/etcd-operator:dev"}

function finish {
sudo chown -R "$(whoami)" ./
}
trap finish EXIT

hack/ci/get_dep

BUILD_IMAGE=${BUILD_IMAGE:-true}
Expand Down
5 changes: 5 additions & 0 deletions hack/ci/run_unit
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,10 @@ export CODECOV_TOKEN=$(cat $CODECOV_TOKEN_FILE)

go version

function finish {
sudo chown -R "$(whoami)" ./
}
trap finish EXIT

hack/ci/get_dep
hack/test

0 comments on commit 0c23d58

Please sign in to comment.