Print the latest jenkins version
Print the latest jenkins version by querying the maven metadata xml.
jv get [flags]
To print the latest weekly release:
jv get [--username <username> --password <password>]
To get the latest LTS release:
jv get --version-identifier lts [--username <username> --password <password>]
To get the latest LTS for a particular release train:
jv get --version-identifier 2.249 [--username <username> --password <password>]
--github-action-output Set an output for a Github Action
-p, --password string Password to use (envVar: MAVEN_REPOSITORY_PASSWORD)
-u, --url string URL to query (envVar: JENKINS_DOWNLOAD_URL) (default "https://repo.jenkins-ci.org/releases/org/jenkins-ci/main/jenkins-war/")
-n, --username string Username to use (envVar: MAVEN_REPOSITORY_USERNAME)
-i, --version-identifier string The version identifier (envVar: JENKINS_VERSION) (default "latest")
-v, --debug Debug Output
--help Show help for command
- jv - Jenkins Version CLI