diff --git a/Dockerfile b/Dockerfile index 4d1f5f7..06f3bc4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,6 @@ RUN curl -fsSL http://apache.osuosl.org/maven/maven-3/$MAVEN_VERSION/binaries/ap | tar -xzC /usr/share \ && mv "/usr/share/apache-maven-${MAVEN_VERSION}" "${MAVEN_HOME}" \ && ln -s "${MAVEN_HOME}/bin/mvn" /usr/bin/mvn -COPY maven-setup.sh /docker-entrypoint-init.d/maven-setup.sh USER "${JENKINS_USER}" ENV MAVEN_CONFIG ${JENKINS_HOME}/.m2 diff --git a/createJenkinsSwarmSlave.sh b/createJenkinsSwarmSlave.sh deleted file mode 100755 index 1ca85fb..0000000 --- a/createJenkinsSwarmSlave.sh +++ /dev/null @@ -1,13 +0,0 @@ -#/bin/bash -set -e - -NEXUS_REPO=${NEXUS_REPO:-$1} -JENKINS_SLAVE_IMAGE=${JENKINS_SLAVE_IMAGE:-openfrontier/jenkins-swarm-maven-slave} -LABEL=${LABEL:-swarm} - -docker run \ - -e NEXUS_REPO=${NEXUS_REPO} \ - -d ${JENKINS_SLAVE_IMAGE} \ - -labels ${LABEL} \ - -mode exclusive \ - -executors 1