Skip to content

Commit

Permalink
Merge pull request #211 from gfouillet/docs/update-readme
Browse files Browse the repository at this point in the history
docs: update README with Jenkins authentication instructions
  • Loading branch information
gfouillet authored Jan 20, 2025
2 parents 8e9e5eb + 68991db commit fb50e97
Showing 1 changed file with 12 additions and 2 deletions.
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

0 comments on commit fb50e97

Please sign in to comment.