diagnosis
Because misconfiguration or lack of appropriate plug, may lead to jcli
not work properly. However, sometimes it is not easy and time-consuming to find the problem quickly. The 诊断
functions to be introduced here exist to solve such problems.
Plugin dependency
For example, the command jcli job search
to rely on plug- Pipeline-RESTful-API . Other plugins have similar dependencies. In some cases, there are also requirements for the version of the plug-in.
When executing the command, if you find that it cannot be used, you can try to use the diagnostic parameters to check whether the dependency is missing:
jcli job search --doctor
Which --doctor
is a global parameter. When a dependency is not satisfied, etc., a corresponding error message will be output. For Error: lack of plugin pipeline-restful-api
example: .