|
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.
|