Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not work with Jenkins 2.387.1 #37

Closed
itexto opened this issue Mar 22, 2023 · 1 comment
Closed

Does not work with Jenkins 2.387.1 #37

itexto opened this issue Mar 22, 2023 · 1 comment

Comments

@itexto
Copy link

itexto commented Mar 22, 2023

Jenkins and plugins versions report

Jenkins 2.387.1 Zulip Plugin 1.3.0

What Operating System are you using (both controller, and any agents involved in the problem)?

Linux - Ubuntu 20.04

Reproduction steps

When trying to send any message with the plugin we'll get the error

Error when executing failure post condition: java.lang.ClassNotFoundException: org.apache.commons.httpclient.Credentials at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476) at jenkins.util.URLClassLoader2.findClass(URLClassLoader2.java:35) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) Caused: java.lang.NoClassDefFoundError: org/apache/commons/httpclient/Credentials at jenkins.plugins.zulip.ZulipSendStep.perform(ZulipSendStep.java:44) at jenkins.tasks.SimpleBuildStep.perform(SimpleBuildStep.java:123) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:101) at org.jenkinsci.plugins.workflow.steps.CoreStep$Execution.run(CoreStep.java:71) at org.jenkinsci.plugins.workflow.steps.SynchronousNonBlockingStepExecution.lambda$start$0(SynchronousNonBlockingStepExecution.java:47) at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515) at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264) at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628) at java.base/java.lang.Thread.run(Thread.java:829)

Expected Results

This should work, the message should be sent

Actual Results

The exception is thrown

Anything else?

Probably related to this issue: #36

@butchyyyy
Copy link
Collaborator

Duplicate of #35

@butchyyyy butchyyyy marked this as a duplicate of #35 Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants