On Mon, Aug 1, 2016 at 4:54 AM, Ido Gadiel <idogad...@gmail.com> wrote:
> I get this exception while Im trying to run the test: "clean test 
> -DskipTests=false -Dtest=myTest" (but it runs perfectly on regular run, e.g 
> hpi:run -Djetty.port=9192)
> java.lang.InstantiationException: java.lang.NoClassDefFoundError: 
> org/jenkinsci/main/modules/sshd/SshCommandFactory

Harmless, and can be worked around by adding an explicit dependency on
the SSHD module, but best to get rid of the `workflow-aggregator`
dependency and use the ones you actually need: at least `workflow-cps`
and `workflow-job`, typically some others like `workflow-basic-steps`
and/or `workflow-durable-task-step`.

And use `<scope>test</scope>` not `<optional>true</optional>`.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr0%3D4XdWRD_Vx2jFt%3DR5SJTcfo8tCF8ejBaBsYXehysKRQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to