We're 
using 
https://wiki.jenkins-ci.org/display/JENKINS/CloudBees+Docker+Build+and+Publish+plugin
 
to do our docker builds.

I've tried to update from v1 -> v1.2, which caused previously successful 
builds to fail. I went back through and isolated the issue to be the jump 
from v1.0.1 to v1.1.
I didn't alter any of the build configuration during this process.

Looking at the logs, it seems like the commands are run differently, 
despite the lack of change in configuration:
v1.0.1:

docker build -t lfn3/bs-api:142 --no-cache=true bs-api


v1.1

docker build -t lfn3/bs-api:141 --no-cache=true --file=bs-api 
/var/lib/jenkins/jobs/docker-bs-api/workspace


It appears that the parameter that was previously treated as the docker context 
dir is now passed as the docker file-path. 

It seems like the field was mis-named in v1.0.1: "Directory dockerfile is in", 
and I'm guessing it was renamed to something like "Dockerfile name" and a 
separate context dir was introduced?

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/8488da82-7ae3-474f-8a3b-1534544e5d5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to