Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jreleaser/jreleaser-azure-devops-extension
JReleaser Azure DevOps Extension
https://github.com/jreleaser/jreleaser-azure-devops-extension
azure azure-devops devops jreleaser
Last synced: about 6 hours ago
JSON representation
JReleaser Azure DevOps Extension
- Host: GitHub
- URL: https://github.com/jreleaser/jreleaser-azure-devops-extension
- Owner: jreleaser
- License: apache-2.0
- Created: 2023-02-07T10:27:03.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-16T14:26:05.000Z (8 months ago)
- Last Synced: 2024-05-23T01:05:23.737Z (6 months ago)
- Topics: azure, azure-devops, devops, jreleaser
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=JReleaser.jreleaser-azure-devops-extension
- Size: 274 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JReleaser Azure Pipelines Extension
> This Extension still in development.
Build: ![Build Status](https://dev.azure.com/JReleaser/jreleaser-azure-devops-extension/_apis/build/status/Build)
## Overview
The tasks in this extension allow for running JReleaser commands from Azure Pipelines.## What is JReleaser?
[JReleaser](https://jreleaser.org/guide/latest/index.html) is a release automation tool. Its goal is to simplify creating releases and publishing artifacts to multiple package managers while providing customizable options.supports any kind of project regardless of its source language (Java, Node, Rust, Perl, Python, C/C++, C#, Elixir, Haskell, etc)
## 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.```yaml
## Use the latest version of JReleaser
- task: JReleaserInstaller@0
inputs:
version: 'latest'## Use the specific version of JReleaser
- task: JReleaserInstaller@0
inputs:
version: '1.7.0'
```### 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.```yaml
- task: JReleaserInvoker@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.```yaml
- task: JReleaserInvoker@0
inputs:
command: 'custom'
arguments: '-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/jreleaser/jreleaser-azure-devops-extension-example/_buildor this repository also uses the JReleaser for Azure Pipelines in `azure-pipelines-release-github.yml`
``` yaml
### JReleaser for Azure Pipelines Example
- task: JReleaserInstaller@0
inputs:
version: '1.5.1'- task: JReleaserInvoker@0
env:
JRELEASER_GITHUB_TOKEN: $(JRELEASER_GITHUB_TOKEN)
JRELEASER_PROJECT_VERSION: ${{ parameters.version}}
JRELEASER_TAG_NAME: ${{ parameters.version}}
inputs:
command: 'release'
```