move jsch.jar to ${user.home}/.ant/lib

This commit is contained in:
victorc 2024-10-16 12:26:21 +00:00
parent 81b7427dd8
commit e91367dc6e

View File

@ -8,7 +8,7 @@ RUN apt-get -y install wget subversion maven ant
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
RUN cd /tmp && wget --no-check-certificate --no-cookies https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.55/jsch-0.1.55.jar \ RUN cd /tmp && wget --no-check-certificate --no-cookies https://repo1.maven.org/maven2/com/jcraft/jsch/0.1.55/jsch-0.1.55.jar \
&& mv jsch-0.1.55.jar /opt/ant/lib && mkdir /home/jenkins/.ant/lib && mv jsch-0.1.55.jar /home/jenkins/.ant/lib
USER jenkins USER jenkins