jcli cwp

jcli cwp

Custom Jenkins WAR packager for Jenkins

Synopsis

Custom Jenkins WAR packager for Jenkins This’s a wrapper of https://github.com/jenkinsci/custom-war-packager

  1. jcli cwp [flags]

Options

  1. --batch-mode Enables the batch mode for the build
  2. --bom-path string Path to the BOM file. If defined, it will override settings in Config YAML
  3. --config-path string Path to the configuration YAML. See the tool's README for format
  4. --demo Enables demo mode with predefined config file
  5. --environment string Environment to be used
  6. -h, --help help for cwp
  7. --install-artifacts If set, the final artifacts will be automatically installed to the local repository (current version - only WAR)
  8. --local-cache string The local cache directory (default "/home/runner/.jenkins-cli")
  9. --metadata-url string The metadata URL (default "https://repo.jenkins-ci.org/list/releases/io/jenkins/tools/custom-war-packager/custom-war-packager-cli/maven-metadata.xml")
  10. --mvn-settings-file string Path to a custom Maven settings file to be used within the build
  11. --show-progress Show the progress of downloading files (default true)
  12. --tmp-dir string Temporary directory for generated files and the output WAR.
  13. --value-set stringToString The value set of config template (default [])
  14. --version string Version of WAR to be set. (default "1.0-SNAPSHOT")

Options inherited from parent commands

  1. --config-load If load a default config file (default true)
  2. --configFile string 指定另外一个配置文件
  3. --debug Print the output into debug.html
  4. --doctor Run the diagnose for current command
  5. --insecureSkipVerify If skip insecure skip verify (default true)
  6. -j, --jenkins string 选择本次执行的 Jenkins
  7. --logger-level string Logger level which could be: debug, info, warn, error (default "warn")
  8. --proxy string The proxy of connection to Jenkins
  9. --proxy-auth string The auth of proxy of connection to Jenkins
  10. --proxy-disable Disable proxy setting
  11. --token string The token of Jenkins
  12. --url string The URL of Jenkins
  13. --username string The username of Jenkins

SEE ALSO

  • jcli - Jenkins CLI written by golang which could help you with your multiple Jenkins