Skip to content

Commit

Permalink
Document retriggering of non-PR jobs (#955)
Browse files Browse the repository at this point in the history
Document retriggering of non-PR jobs

Related to packit/packit-service#1062

Reviewed-by: Maja Massarini
Reviewed-by: Matej Focko
  • Loading branch information
softwarefactory-project-zuul[bot] authored Oct 28, 2024
2 parents 6f19488 + a922009 commit 5bcccca
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions docs/guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,19 @@ It is also possible to re-trigger only the failed builds using a pull request co

/packit rebuild-failed

The same comments can be used to retrigger jobs configured with either `commit` or `release`
trigger by specifying the respective arguments:

/packit build --commit <branch-name>

or

/packit build --release <tag-name>

If no additional arguments are provided, Packit defaults to the commit trigger on the repository's
default branch. The job will execute only if a corresponding job configuration exists for the
specified branch or release and if the commit is included on the specified branch or tag.

#### propose_downstream
For [`propose_downstream`](/docs/configuration/upstream/propose_downstream), you need to place this comment to any issue:

Expand All @@ -494,6 +507,19 @@ And to re-trigger only the failed tests, you can use
For testing, there is possible to specify also other arguments for more advanced use-cases, see
the details [here](/docs/configuration/upstream/tests#running-tests-with-builds-from-another-pull-request).

The same comments can be used to retrigger jobs configured with either `commit` or `release`
trigger by specifying the respective arguments:

/packit test --commit <branch-name>

or

/packit test --release <tag-name>

If no additional arguments are provided, Packit defaults to the commit trigger on the repository's
default branch. The job will execute only if a corresponding job configuration exists for the
specified branch or release and if the commit is included on the specified branch or tag.

#### upstream_koji_build

For retriggering the [`upstream_koji_build`](/docs/configuration/upstream/upstream_koji_build) jobs, you can
Expand Down

0 comments on commit 5bcccca

Please sign in to comment.