The GitHub Release build event handler can be used to manage GitHub releases. You can create a new release, edit or delete an existing release. You can also upload release assets when create or editing a release. The build event handler can be set to automatically respond to any Build Events.
The URL of the GitHub API to be used
The username used to login to GitHub. This should have access to the repository you are managing releases for. Supply either a username and password combination here or an access token below.
The password used to login to GitHub. This should have access to the repository you are managing releases for.
The personal API access token used to login to GitHub. This should have access to the repository you are managing releases for. Supply either an access token or a username and password combination above.
Select a GitHub repository from the remote Git repositories associated with the configuration.
This is one of the following:
The name of the GitHub tag identifying the release to create, edit or delete. This should be a version number which follows the semantic versioning format rules.
First changeset associated with the build: The release will be created for the first changeset commit associated with the current build.
Last changeset associated with the build: The release will be created for the last changeset commit associated with the current build.
Default branch: The release will be created for the head commit of the default branch of the repository as defined in GitHub.
Specific branch or commit: This option causes the Specific Commit Hash or Branch Name field to be displayed.
The specific commit hash of branch head name to mark as a release.
The name or title of the GitHub release. If left empty the tag name is used.
The description of the GitHub release. You can use GitHub markdown tags here.
Tick this checkbox to save the release as a draft.
Tick this checkbox to flag the release as non-production ready.
A list of paths to files to upload from the server workspace. Note that you will need to set up your workspace rules to ensure that the relevant build output files are copied from the agent to the server workspace.Each file/pattern must be entered on a new line. You can specify an exact file with its path or you can use pattern matching. You can exclude files by prefixing the file name or pattern with a dash. e.g -*.ignore. Exclude patterns always take precedence over include patterns. More information about pattern wild cards can be found on the Ant Pattern Usage page.
Tick this checkbox to delete any existing release assets with the same name before uploading the new updated assets.
You can specify when the build event handler runs by linking it to a Build Event on the When To Run tab.
Select the event which triggers the tag action. You can choose one of the following Build Events:
For stage events, select the stage this applies to, or "(all stages)" to trigger the tagging action for all stages
For "On Stage Completed" and "On Build Completed", you can choose to trigger the tagging action when the build is Successful or has Failed.
Clear this option to run the tagging action in a separate thread if you don't care about the result eg. whether the action fails or not.
Tick this to fail the build if the operation returns an error or failure. This is only available if Wait for result is ticked.
An error result will be returned if an artifact fails to upload. Tick this option to ignore these errors, only logging a warning to the build log.
An error result will be returned if a release with a matching tag name is not found. Tick this option to ignore these errors, only logging a warning to the build log.
Tick this to fail the build if the operation returns an error or failure. This is only available if Wait for result is ticked.
When this is ticked, Continua CI will add messages to the build log during execution of the GitHub Release action. Build log messages will only be recorded if Wait for Result is ticked.