jcli job edit

jcli job edit

Edit the job of your Jenkins

Synopsis

Edit the job of your Jenkins. We only support to edit the pipeline job.

jcli job edit <jobName> [flags]

Options

  -f, --filename string   Filename to files to use to replace pipeline
  -h, --help              help for edit
  -s, --script string     Script to use to replace pipeline. Use script first if you give filename at the meantime.
      --url string        URL of the Jenkinsfile to files to use to replace pipeline

Options inherited from parent commands

      --configFile string     指定另外一个配置文件
      --debug                 Print the output into debug.html
  -j, --jenkins string        选择本次执行的 Jenkins
      --logger-level string   Logger level which could be: debug, info, warn, error (default "warn")
  -o, --output string         Format the output (default "json")

SEE ALSO

  • jcli job - Manage the job of your Jenkins