Skip to content

jyanko/rundeck-cli

This branch is 189 commits behind rundeck/rundeck-cli:main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2a679c8 · Sep 22, 2022
May 20, 2022
Sep 16, 2022
Sep 16, 2022
Sep 22, 2022
Sep 20, 2022
May 19, 2022
Sep 16, 2022
Aug 19, 2022
May 13, 2022
May 13, 2022
May 13, 2022
May 10, 2022
Sep 20, 2022
May 8, 2022
Sep 16, 2022
May 10, 2022
Sep 16, 2022
Sep 22, 2022
Jun 1, 2016
Aug 18, 2022
Jun 2, 2020
May 13, 2022
May 6, 2022
Jul 3, 2019
Feb 8, 2020
May 5, 2022
Apr 19, 2022
Apr 19, 2022
Mar 29, 2022
May 13, 2022

Repository files navigation

Rundeck CLI Tool

Build Status

This is the official CLI tool for Rundeck.

Documentation

https://rundeck.github.io/rundeck-cli/

Bundled Extensions

  • rd acl - Test and generate Rundeck ACL policy files

Javadoc

Downloads

Github Releases

For apt and yum repos, see Install

Howto

Build

Build with gradle

Produces packages in: rd-cli-tool/build/distributions:

rd-VERS.zip/.tar rundeck_cli_VERS.rpm rundeck_cli_VERS.deb

Produces Jars in: rd-cli-tool/build/libs: rundeck-cli-VERS-all.jar (shadowed jar)

./gradlew build

Build Lenient

Build with lenient mode dependency verification

./gradlew build --dependency-verification lenient

Write Dependency Verification

Update dependency verification metadata and export any new keys.

./gradlew --write-verification-metadata sha256 --refresh-dependencies help
./gradlew --write-verification-metadata pgp,sha256 --refresh-keys --export-keys --refresh-dependencies help
rm gradle/verification-keyring.gpg
git add gradle/verification-metadata.xml
git add gradle/verification-keyring.keys

Owasp Dependency check

Check OWASP scan for dependencies

./gradlew dependencyCheckAggregate -Porg.gradle.dependency.verification.console=verbose --dependency-verification lenient

Install Locally

Install to local path rd-cli-tool/build/install/rd/bin/rd

./gradlew :rd-cli-tool:installDist

Local Run

Run local installation at path rd-cli-tool/build/install/rd/bin/rd

./rd-cli-tool/build/install/rd/bin/rd "${@}"

Release

Release a new version

Uses axion release plugin.

./gradlew release

Release using Snapshots

If you need to release with any SNAPSHOT dependency Otherwise, axion-release will fail the prerelease check. Only do this for testing.

./gradlew release -Prelease.disableChecks

Next Minor Version

Updates minor version without releasing, e.g. 0.1.x-SNAPSHOT becomes 0.2.0-SNAPSHOT

./gradlew markNextVersion -Prelease.incrementer=incrementMinor

Release Force version

Release and force a particular version

./gradlew release -Prelease.forceVersion=${1:?version argument must be specified}

Packages

No packages published

Languages

  • Java 80.0%
  • Groovy 19.3%
  • Other 0.7%