Alberto Donato has proposed merging
~ack/maas-ci/+git/maas-ci-internal:fix-readme into
~maas-committers/maas-ci/+git/maas-ci-internal:main.
Commit message:
fix readme
Requested reviews:
MAAS Committers (maas-committers)
For more details, see:
https://code.launchpad.net/~ack/maas-ci/+git/maas-ci-internal/+merge/442219
--
Your team MAAS Committers is requested to review the proposed merge of
~ack/maas-ci/+git/maas-ci-internal:fix-readme into
~maas-committers/maas-ci/+git/maas-ci-internal:main.
diff --git a/README.md b/README.md
index fdc259a..3ae74a5 100644
--- a/README.md
+++ b/README.md
@@ -8,13 +8,9 @@ configured:
## Setting up Jenkins Job Builder
-1. Install in a virtualenv
-```
-python3 -m ve jjb
-. jjb/bin/activate
-pip install jenkins-job-builder
-```
+1. Run `make install-dependencies setup` to install it in a virtualenv
+
2. Create a configuration file under `~/.config/jenkins_jobs/jenkins_jobs.ini`
with a similar config:
@@ -31,23 +27,25 @@ password=<PASSWORD>
You can create an [API token](http://maas-ci.internal:8080/user/$username/configure) and use it as a password.
+
3. Test generating definitions
```
-jenkins-jobs test -o outdir/ $JOB_DEF_FILE:launchpad-ci/launchpad-ci.yaml
+./jenkins-jobs test -o outdir/ $JOB_DEF_FILE:launchpad-ci/launchpad-ci.yaml
```
`JOB_DEF_FILE` is the name of the job you want to test.
-To test all jobs, run `jenkins-jobs test -o outdir/ ./` instead.
+To test all jobs, run `make check` instead.
+
4. Update a job in Jenkins:
```
-jenkins-jobs update $JOB_DEF_FILE:launchpad-ci/launchpad-ci.yaml
+./jenkins-jobs update $JOB_DEF_FILE:launchpad-ci/launchpad-ci.yaml
```
-To update all jobs, run `jenkins-jobs update ./` instead.
+To update all jobs, run `./jenkins-jobs update ./` instead.
5. Once all jobs are updated, you need to approve them [here](http://maas-ci.internal:8080/scriptApproval)
--
Mailing list: https://launchpad.net/~sts-sponsors
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sts-sponsors
More help : https://help.launchpad.net/ListHelp