From 68991dbb67aac33ac833062c8f129854c390c944 Mon Sep 17 00:00:00 2001 From: Guillaume Fouillet Date: Tue, 17 Dec 2024 11:48:41 +0100 Subject: [PATCH] docs: update README with Jenkins authentication instructions --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 152db33..5b4ff5d 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,19 @@ JUJU_REPO_PATH="" make gen-wire-tests ## Uploading to Jenkins -To push, you need to be on the Canonical VPN. Check that everything is working with: +To push, you need to be on the Canonical VPN and have your authentication token ready. If you don't have any, create an +[API Token on jenkins](https://www.jenkins.io/doc/book/system-administration/authenticating-scripted-clients/) + +Then setup the environment variables: + +```shell +export JENKINS_USER= +export JENKINS_ACCESS_TOKEN= +``` + +Check that everything is working with: ```bash -make push-test +make test-push ``` And push to https://jenkins.juju.canonical.com/ with: ```bash