mirror of https://github.com/codevalet/master
Return the agent port to the environment to avoid unnecessary exceptions
The upstream Docker image copies this file into tcp-slave-agent-port.groovy (https://github.com/jenkinsci/docker/blob/master/init.groovy) which expects this environment variable to be set. This doesn't really matter in the context of Code Valet, but it's helpful to just shut this error up 😄 Fixes codevalet/codevalet#81
This commit is contained in:
parent
4516b6f4b0
commit
b30e5bfb27
|
@ -39,6 +39,8 @@ RUN curl -fsSL https://github.com/krallin/tini/releases/download/v${TINI_VERSION
|
|||
&& echo "$TINI_SHA /bin/tini" | sha256sum -c -
|
||||
|
||||
ENV JENKINS_UC https://updates.jenkins.io
|
||||
ENV JENKINS_SLAVE_AGENT_PORT ${agent_port}
|
||||
|
||||
RUN chown -R ${user} "$JENKINS_HOME" /usr/share/jenkins/ref
|
||||
|
||||
# for main web interface:
|
||||
|
|
Loading…
Reference in New Issue