move jsch.jar to ${user.home}/.ant/lib
This commit is contained in:
parent
81b7427dd8
commit
e91367dc6e
@ -8,7 +8,7 @@ RUN apt-get -y install wget subversion maven ant
|
||||
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 \
|
||||
&& 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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user