jenkinsflowΒΆ

Usage: jenkinsflow [OPTIONS] COMMAND [ARGS]...

  Commandline utilities for jenkinsflow

Options:
  --help  Show this message and exit.

Commands:
  set_build_description  Utility to set/append build description on a...
Usage: jenkinsflow set_build_description [OPTIONS]

  Utility to set/append build description on a job build.

  When called from a Jenkins job you can leave out the '--build-url', '--
  job-name' and '--build-number' arguments, the BUILD_URL env variable will
  be used.

Options:
  --description TEXT        The description to set on the build
  --replace / --no-replace  Replace existing description, if any, instead of
                            appending.
  --separator TEXT          A separator to insert between any existing
                            description and the new 'description' if 'replace'
                            is not specified.
  --username TEXT           User Name for Jenkin authentication with secured
                            Jenkins
  --password TEXT           Password of Jenkins User
  --build-url TEXT          Build URL
  --job-name TEXT           Job Name
  --build-number INTEGER    Build Number
  --direct-url TEXT         Jenkins URL - preferably non-proxied. If not
                            specified, the value of JENKINS_URL or HUDSON_URL
                            environment variables will be used.
  --help                    Show this message and exit.

You can also use jenkinsflow.utils.set_build_description module in your python script.