-
Improvement
-
Resolution: Done
-
Minor
Hi,
I'd like to suggest a friendly message for missing deployment policy on weblogic-deployer-plugin.
The build was started by an SCM change, and the message was:
[WeblogicDeploymentPlugin] - Current build causes (hudson.triggers.SCMTrigger$SCMTriggerCause@3) do not contain any of the configured (org.jenkinsci.plugins.deploy.weblogic.data.policy.UserIdCauseDeploymentPolicy@47408485). The plugin execution is disabled.
[INFO] ------------------------------------------------------------------------
[INFO] DEPLOYMENT UNSTABLE
[INFO] ------------------------------------------------------------------------
Printing the objects instances .toString() is not so friendly. I'd like to suggest something like:
[WeblogicDeploymentPlugin] - Current build cause(s) "SCMTriggerCause" do(es) not contain any of the configured "Deployment Policies". The plugin execution is disabled.
The message could also explain how to setup the Deployment Policy, e.g:
[WeblogicDeploymentPlugin] - Verify at "Post-build Actions > Deploy the artifact to any Weblogic environments > Deployment policies" if all the appropriate policies are applied according to enabled build triggers.
#My Jenkins:
Jenkins:2.32.3
weblogic-deployer-plugin:3.6
- mentioned in
-
Page Loading...