Due to Jenkins not doing it's own docker image garbage collection I would like to implement my own garbage collection based on which images are actually current and which are stale rather than the more naïve implementation in docker-gc of just removing the oldest images without regard to whether they are actually still currently being used by Pipeline jobs or not.

      To do so, I need to keep an accounting of which images are being used by which jobs. This would need to be done in the step, or post of a Pipeline job and as such it would be useful if some kind of identifier of the image (image ID, tag, etc.) were exported to the job step and/or post.

          [JENKINS-55776] export image information to build steps

          There are no comments yet on this issue.

            Unassigned Unassigned
            brianjmurrell Brian J Murrell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: