-
Improvement
-
Resolution: Fixed
-
Minor
-
None
There should be an option for the Docker Pipeline configuration for Declarative Pipelines to point to a Dockerfile - if that option is given, then we should build that Dockerfile and run in the resulting image.
- is duplicated by
-
JENKINS-39507 Add a way to use a docker agent that creates the image like with the `docker.create()` function.
-
- Closed
-
- links to
[JENKINS-39216] Declarative: auto-build Dockerfile and run in resulting image if provided
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Status | Original: In Progress [ 3 ] | New: In Review [ 10005 ] |
Remote Link | New: This issue links to "PR #38 (Web Link)" [ 14978 ] |
Resolution | New: Fixed [ 1 ] | |
Status | Original: In Review [ 10005 ] | New: Resolved [ 5 ] |
Hrm. Got a frustrating point here - we don't do checkout scm until after we've got our node/docker container/etc, but we need to do that checkout scm before we can do docker.build(...). Gotta think about this.