Issue Type: Bug Bug
Assignee: Unassigned
Components: websphere-deployer-plugin
Created: 12/Nov/14 10:32 PM
Description:

Hi Gerg,

First, thanks for the plugin, it is very useful.

And just to report an issue that I am experiencing, hope you can improve this area.

I am currently using Bitbucket as my SCM, and in post-build, using your plugin to deploy the WAR to WAS.

When it runs for the first time, everything is fine.

However, after that all our jobs fail to connect to the Bitbucket, which is using HTTPS.

After some investigations from the source and the Jenkins system, the System properties (via System.getProperty()) javax.net.ssl.trustStore, javax.net.ssl.keyStore, javax.net.ssl.trustStorePassword and javax.net.ssl.keyStorePassword are set with the value that I define in the job.

These values was originally as "null" (obtains via Jenkins Script Console).

I understand from your code that you only assigned this value into a Properties instance. However, I believe the IBM library use your instance and define those values into the System level.

Workarounds:

Currently, I am applying a "Post-Build Groovy Script" after running the deployer plugin. In the script, I define the following

System.clearProperty("javax.net.ssl.trustStore");
System.clearProperty("javax.net.ssl.keyStore");
System.clearProperty("javax.net.ssl.trustStorePassword");
System.clearProperty("javax.net.ssl.keyStorePassword");

and it is working for the time being.

Hope above information can help you to define the root cause and improve the plugin.

Again, Thanks for your great work.

Project: Jenkins
Priority: Minor Minor
Reporter: Chun Ko
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to