Started by user anonymous Building remotely on 192.168.102.28 in workspace /tmp/workspace/docker $ docker inspect 43728998fde0187a1f0b526fef5e2db9b02796a3 [] Build Docker image from /tmp/workspace/docker/Dockerfile ... $ docker build --tag 43728998fde0187a1f0b526fef5e2db9b02796a3 --file Dockerfile /tmp/workspace/docker Sending build context to Docker daemon 497.2 kB Sending build context to Docker daemon Post http://192.168.102.28:22/v1.19/build?cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile&memory=0&memswap=0&rm=1&t=43728998fde0187a1f0b526fef5e2db9b02796a3: malformed HTTP response "SSH-2.0-OpenSSH_6.4". Are you trying to connect to a TLS-enabled daemon without TLS? FATAL: Failed to build docker image from project Dockerfile java.lang.RuntimeException: Failed to build docker image from project Dockerfile at com.cloudbees.jenkins.plugins.docker_build_env.Docker.buildImage(Docker.java:121) at com.cloudbees.jenkins.plugins.docker_build_env.DockerfileImageSelector.prepareDockerImage(DockerfileImageSelector.java:41) at com.cloudbees.jenkins.plugins.docker_build_env.DockerBuildWrapper.setUp(DockerBuildWrapper.java:152) at hudson.model.Build$BuildExecution.doRun(Build.java:156) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:537) at hudson.model.Run.execute(Run.java:1741) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:98) at hudson.model.Executor.run(Executor.java:408) Finished: FAILURE
i am not getting what is the triggering point for :
Are you trying to connect to a TLS-enabled daemon without TLS?
can someone please suggest
Regards
Irfan
Have you specified the port 22 from that Docker URL or are the plug-ins doing that as port 22 isn't right for Docker.
Richard
--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACGLCJZxveD-sjASD5-oFtE8B%2BXY3xavbz9C0SLur0_dT3xaOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMui9447zbD3yn9ZEqSOti5%2Bz_yENjn%2BRNTL%2Brv6SXSe85_sbw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACGLCJaNdy4fnboB%3DiMzGPhTKQTxgiUMJmNgrdtccf3C2CuEmQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANMVJzmTRB%3DoLcoYS0vhoM0LfNH4kyUD8xF3qumC7EwU0P%2BF9w%40mail.gmail.com.
You shouldn't be pointing it at Port 22 as that's the SSH port. You'll need to check which tcp port you've got your Docker daemon listening on for Docker API calls.
Richard.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CACGLCJaXO5%2BxNuwSrbJCNHkAYDTMOOAZ%3D%2Bxzumgda99RNp%3DWyw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMui945%3DTGnY6S_uPj3RFGjbAYbd5YnnrBxt1XmKV8%3DX3LUf4g%40mail.gmail.com.
Docker container 87de3c721ba5c07e84bc006d539ed8849a5dae4ecf06be3bb69fa9746bebc9ec started to host the build
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin PWD=/tmp/workspace/docker SELINUX_LEVEL_REQUESTED= SELINUX_ROLE_REQUESTED= SELINUX_USE_CURRENT_RANGE= SHELL=/bin/bash SHLVL=1 "SSH_CLIENT=192.168.102.19 56356 22" "SSH_CONNECTION=192.168.102.19 56356 192.168.102.28 22" USER=root WORKSPACE=/tmp/workspace/docker XDG_RUNTIME_DIR=/run/user/0 XDG_SESSION_ID=602 XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt mvn clean package env: mvn: No such file or directory Build step 'Invoke top-level Maven targets' marked build as failure Stopping Docker container after build completion $ docker kill c9daf81ddb63d099a10ddba419ea78d690061786cb68b5cbe5ceddbc0366dcb1 c9daf81ddb63d099a10ddba419ea78d690061786cb68b5cbe5ceddbc0366dcb1 $ docker rm --force c9daf81ddb63d099a10ddba419ea78d690061786cb68b5cbe5ceddbc0366dcb1 c9daf81ddb63d099a10ddba419ea78d690061786cb68b5cbe5ceddbc0366dcb1I am not getting how the path is not getting setup.when i tried locally, using docker attach command to work on container, i am able to access mvn commandplease suggestRegards,Irfan