Skip to content

Commit

Permalink
Noting gitHubRepo, and a tip about gh pr checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jglick committed Sep 18, 2020
1 parent e218133 commit 8332496
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ to
</scm>
```

Also replace `jenkinsci/your-repo` occurrences in the `scm` section with a POM property named `gitHubRepo`.
This will ensure that deployments from forked pull requests will give correct checkout information,
used for example by `plugin-compat-tester`.

Now run

```bash
Expand Down Expand Up @@ -144,6 +148,13 @@ Your plugin will need to have a `github` field in
[`repository-permissions-updater`](https://github.com/jenkins-infra/repository-permissions-updater)
if it does not already.

To check from a shell if your deployment is ready, get the [`gh` CLI](https://cli.github.com/) and try:

```console
$ gh pr checks | fgrep incrementals | awk '{print $4}'
https://repo.jenkins-ci.org/incrementals/org/jenkins-ci/plugins/ldap/1.27-rc474.9577fe6b8ea6/
```

To produce equivalent artifacts in your local repository while working offline:

```bash
Expand Down

0 comments on commit 8332496

Please sign in to comment.