Skip to content

Commit 3e99349

Browse files
Merge pull request #11297 from sharifelgamal/update-set
change authentication for jenkins job
2 parents 6bca921 + 90d148f commit 3e99349

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hack/jenkins/minikube_set_pending.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,8 @@ function retry_github_status() {
6969

7070
while [[ "${attempt}" -lt 8 ]]; do
7171
local out=$(mktemp)
72-
code=$(curl -o "${out}" -s --write-out "%{http_code}" -L \
73-
"https://api.github.com/repos/kubernetes/minikube/statuses/${commit}?access_token=${token}" \
72+
code=$(curl -o "${out}" -s --write-out "%{http_code}" -L -u minikube-bot:$token \
73+
"https://api.github.com/repos/kubernetes/minikube/statuses/${commit}" \
7474
-H "Content-Type: application/json" \
7575
-X POST \
7676
-d "{\"state\": \"${state}\", \"description\": \"Jenkins\", \"target_url\": \"${target}\", \"context\": \"${context}\"}" || echo 999)

0 commit comments

Comments
 (0)