Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update README with Jenkins authentication instructions #211

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,19 @@ JUJU_REPO_PATH="<juju-repo-on-branch-to-generate-jobs-from>" 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=<your username>
export JENKINS_ACCESS_TOKEN=<your 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
Expand Down
Loading