-
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 Failed to load
[JENKINS-42802] Add a friendly message for missing deployment policy
Description |
Original:
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: {quote}[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] ------------------------------------------------------------------------ {quote} Printing the objects instances .toString() is not so friendly. I'd like to suggest something like: {quote}[WeblogicDeploymentPlugin] - Current build cause(s) "SCMTriggerCause" do(es) not contain any of the configured "Deployment Policy". The plugin execution is disabled. {quote} The message could also explain how to setup the Deployment Policy, e.g: {quote}[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. {quote} #My Jenkins: Jenkins:2.32.3 weblogic-deployer-plugin:3.6 |
New:
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: {quote}[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] ------------------------------------------------------------------------ {quote} Printing the objects instances .toString() is not so friendly. I'd like to suggest something like: {quote}[WeblogicDeploymentPlugin] - Current build cause(s) "SCMTriggerCause" do(es) not contain any of the configured "Deployment Policies". The plugin execution is disabled. {quote} The message could also explain how to setup the Deployment Policy, e.g: {quote}[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. {quote} #My Jenkins: Jenkins:2.32.3 weblogic-deployer-plugin:3.6 |
Attachment | New: weblogic-deployer-message.png [ 36532 ] |
Labels | Original: weblogic-deployer-plugin-3.6 | New: weblogic-deployer-plugin-3.6 weblogic-deployer-plugin-3.7 |
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "Page (Jenkins Wiki)" [ 17162 ] |
Status | Original: In Review [ 10005 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Resolution | New: Done [ 10000 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |