Rene Kok edited a comment on Bug JENKINS-24149

We found a workaround by patching swarm-client-1.16-jar-with-dependencies.jar:
We removed the commons-logging dependency and replaced it with the classes from commons-logging-1.1.3

mkdir /tmp/swarm-client /tmp/commons-logging
 
cd /tmp/swarm-client
curl --silent -o swarm-client-1.16-jar-with-dependencies.jar http://${OUR_REPOSITORY}/jcenter/org/jenkins-ci/plugins/swarm-client/1.16/swarm-client-1.16-jar-with-dependencies.jar
unzip swarm-client-1.16-jar-with-dependencies.jar
 
cd /tmp/commons-logging
curl --silent -o commons-logging-1.1.3.jar  http://${OUR_REPOSITORY}/jcenter/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
unzip commons-logging-1.1.3.jar
 
mv /tmp/swarm-client/org/apache/commons/logging/ /tmp/swarm-client/org/apache/commons/logging.NOTUSED
mv /tmp/commons-logging/org/apache/commons/logging/ /tmp/swarm-client/org/apache/commons
 
cd /tmp/swarm-client
rm swarm-client-1.16-jar-with-dependencies.jar
zip -r swarm-client-1.16-MODIFIED-jar-with-dependencies.jar hudson jenkins META-INF org
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