Skip to content

Commit

Permalink
[JENKINS-48711] - Also install Jenkins CLI to local artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-nenashev committed Jan 2, 2018
1 parent 3c5beda commit a57dbc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/docker/run-pct.sh
Expand Up @@ -48,10 +48,10 @@ if [ -f "${JENKINS_WAR_PATH}" ]; then
echo "Version is a snapshot, will install artifacts to the local maven repo"
mkdir -p "war-exploded"
unzip -q -c "jenkins.war" "WEB-INF/lib/jenkins-core-${JENKINS_VERSION}.jar" > "war-exploded/jenkins-core.jar"
# unzip -q -c "jenkins.war" "WEB-INF/lib/jenkins-cli-${JENKINS_VERSION}.jar" > "war-exploded/jenkins-cli.jar"
unzip -q -c "jenkins.war" "WEB-INF/lib/cli-${JENKINS_VERSION}.jar" > "war-exploded/jenkins-cli.jar"
mvn org.apache.maven.plugins:maven-install-plugin:2.5:install-file -Dfile="jenkins.war"
mvn org.apache.maven.plugins:maven-install-plugin:2.5:install-file -Dfile="war-exploded/jenkins-core.jar"
# mvn install:install-file -Dfile="war-exploded/jenkins-cli.jar"
mvn org.apache.maven.plugins:maven-install-plugin:2.5:install-file -Dfile="war-exploded/jenkins-cli.jar"
fi
else
WAR_PATH_OPT=""
Expand Down

0 comments on commit a57dbc3

Please sign in to comment.