daily pastebin goal
8%
SHARE
TWEET

Untitled

a guest Oct 22nd, 2018 64 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1. FROM <my-repo>/build/openjdk:latest
  2.  
  3. ARG master
  4. ENV JENKINS_MASTER_URL=$master
  5. ENV HOME /home/jenkins
  6.  
  7. RUN mkdir -p /usr/share/jenkins && chmod 755 /usr/share/jenkins
  8. COPY slave.jar /usr/share/jenkins/slave.jar
  9.  
  10. USER jenkins
  11.  
  12. RUN mkdir $HOME/.jenkins
  13. VOLUME $HOME/.jenkins
  14. WORKDIR $HOME
  15.  
  16. CMD ["sh", "-c", "java -jar /usr/share/jenkins/slave.jar -jnlpUrl $JENKINS_MASTER_URL"]
  17.    
  18. docker build -t slave:0.4 . --build-arg masterurl='http://<URL-OF_JK-MASTER>'
  19.    
  20. [Fatal Error] test.com:6:3: The element type "hr" must be terminated by the matching end-tag "</hr>".
  21. Failing to obtain http://<URL-OF_JK-MASTER>
  22. java.io.IOException: http://<URL-OF_JK-MASTER> doesn't look like a JNLP file; content type was text/html
  23.     at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:525)
  24.     at hudson.remoting.Launcher.run(Launcher.java:322)
  25.     at hudson.remoting.Launcher.main(Launcher.java:283)
  26. Waiting 10 seconds before retry
  27. [Fatal Error] test.com:6:3: The element type "hr" must be terminated by the matching end-tag "</hr>".
  28. Failing to obtain http://<URL-OF_JK-MASTER>
  29. java.io.IOException: http://<URL-OF_JK-MASTER> doesn't look like a JNLP file; content type was text/html
  30.     at hudson.remoting.Launcher.parseJnlpArguments(Launcher.java:525)
  31.     at hudson.remoting.Launcher.run(Launcher.java:322)
  32.     at hudson.remoting.Launcher.main(Launcher.java:283)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top