JReleaser Azure Pipelines Extension
This Extension still in development.
Build:
Overview
The tasks in this extension allow for running JReleaser commands from Azure Pipelines.
Usage
Suppoted JReleaser Commands
The following commands are supported:
custom
jreleaser:env
jreleaser:init
jreleaser:config
jreleaser:template
jreleaser:template eval
jreleaser:download
jreleaser:assemble
jreleaser:changelog
jreleaser:catalog
jreleaser:checksum
jreleaser:sign
jreleaser:deploy
jreleaser:upload
jreleaser:release
jreleaser:prepare
jreleaser:package
jreleaser:announce
jreleaser:full-release
Install the JReleaser for Azure Pipelines
Before running the JReleaser task, you can run the JReleaser Installer task to download JReleaser.
- task: JReleaserInstaller@0
inputs:
version: 'latest'
Run JReleaser Tasks
The JReleaser task can be used to run any JReleaser command.
Run JReleaser Commands
The following example shows how to run the init
command.
- task: JReleaserExecuter@0
inputs:
command: 'release'
customArguments: '--prerelease'
logLevel: 'quiet'
Run Custom JReleaser Commands
if you want to run a custom JReleaser command, you can use the custom
command.
- task: JReleaser@0
inputs:
command: 'custom'
customArguments: '-D=jreleaser.github.token=1234'
logLevel: 'info'
Example
In the Azure pipeline project below URL, you can see the example of using the JReleaser for Azure Pipelines.
Example: https://dev.azure.com/shblue21/jreleaser-azure-devops-extension-example/_build