Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 1.2 KB

File metadata and controls

50 lines (31 loc) · 1.2 KB

jv get

Print the latest jenkins version

Synopsis

Print the latest jenkins version by querying the maven metadata xml.

jv get [flags]

Examples

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>]

Options

      --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")

Options inherited from parent commands

  -v, --debug   Debug Output
      --help    Show help for command

SEE ALSO

  • jv - Jenkins Version CLI