Details
-
Bug
-
Status: Closed (View Workflow)
-
Blocker
-
Resolution: Fixed
-
None
-
pipeline-model-definition-plugin v1.2
Description
Version 1.2 of pipeline-model-definition-plugin changes the behavior of docker images. `docker pull` is now performed for docker images specified in `agent`. Previously this was not performed.
This change affects use cases where the docker image only exists locally. It will obviously fail if `docker pull` is called.
The change was introduced in https://github.com/jenkinsci/pipeline-model-definition-plugin/pull/182
The simple workaround is to patch the plugin to revert this change, but it would be nice to avoid that.
Hopefully this could be reverted to old behavior or/and an option added for configuration.
Attachments
Issue Links
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Priority | Minor [ 4 ] | Blocker [ 1 ] |
Status | Open [ 1 ] | In Progress [ 3 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Remote Link | This issue links to "PR #199 (Web Link)" [ 17790 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Comment |
[ AFAICT, a regression was introduced by a367db7c2a727e5ea87381777b72b4c84b52f1a2. [http://jenkins-ci.org/commit/pipeline-model-definition-plugin/a367db7c2a727e5ea87381777b72b4c84b52f1a2] It seems this commit removes the check of alwaysDoDockerPull for agents that aren't within a stage, making it impossible to use a local image in top level scope. I could easily be wrong, please let me know if I've misunderstood something. ] |
Resolution | Fixed [ 1 ] | |
Status | Reopened [ 4 ] | Resolved [ 5 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
Also confirmed. Support for local images +1
The original bug requested that this behaviour be toggled with a flag. That seems to be a sensible option.