Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28675

Create Docker image fingerprints after the build

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Docker Commons allows to create fingerprints, which may be reused in other plugins. It would be great to create such fingerprints when we create a new image in docker-build-publish

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java
          src/main/java/com/cloudbees/dockerpublish/DockerCLIHelper.java
          src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/config.jelly
          src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/help-createFingerprint.html
          src/test/java/com/cloudbees/dockerpublish/DockerCLIHelperTest.java
          src/test/resources/dockerInspectImage_response.json
          http://jenkins-ci.org/commit/docker-build-publish-plugin/defbeabb366cd7633d197db1b9c64e55dd81cf7f
          Log:
          JENKINS-28675 - Create fingerprints when creating new images

          This is a draft implementation of the on-demand creation of Docker fingerprints from docker-build-publich plugin. The current version has a limited usability due to the lack of the info in fingerprints. We assume that something like Docker Traceability Plugin will add more info later.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java src/main/java/com/cloudbees/dockerpublish/DockerCLIHelper.java src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/config.jelly src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/help-createFingerprint.html src/test/java/com/cloudbees/dockerpublish/DockerCLIHelperTest.java src/test/resources/dockerInspectImage_response.json http://jenkins-ci.org/commit/docker-build-publish-plugin/defbeabb366cd7633d197db1b9c64e55dd81cf7f Log: JENKINS-28675 - Create fingerprints when creating new images This is a draft implementation of the on-demand creation of Docker fingerprints from docker-build-publich plugin. The current version has a limited usability due to the lack of the info in fingerprints. We assume that something like Docker Traceability Plugin will add more info later.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java
          src/main/java/com/cloudbees/dockerpublish/DockerCLIHelper.java
          http://jenkins-ci.org/commit/docker-build-publish-plugin/30a0bc09c2a917cbe11cfb86562d4d2dfe055686
          Log:
          JENKINS-28675 - Refactor docker-build-publish STDOUT/STDERR handling

          • Return STDERR in Result
          • New method, which allows to manage logging of STDOUT/STDERR outputs
          • Annotations
          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java src/main/java/com/cloudbees/dockerpublish/DockerCLIHelper.java http://jenkins-ci.org/commit/docker-build-publish-plugin/30a0bc09c2a917cbe11cfb86562d4d2dfe055686 Log: JENKINS-28675 - Refactor docker-build-publish STDOUT/STDERR handling Return STDERR in Result New method, which allows to manage logging of STDOUT/STDERR outputs Annotations
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Oleg Nenashev
          Path:
          src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java
          src/main/java/com/cloudbees/dockerpublish/DockerCLIHelper.java
          src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/config.jelly
          src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/help-createFingerprint.html
          src/test/java/com/cloudbees/dockerpublish/DockerCLIHelperTest.java
          src/test/resources/dockerInspectImage_response.json
          http://jenkins-ci.org/commit/docker-build-publish-plugin/570ab9b547f0f82cc49fa555c2bfe63b8ca79283
          Log:
          Merge pull request #22 from oleg-nenashev/JENKINS-28675

          JENKINS-28675 - Create fingerprints when creating new images

          Compare: https://github.com/jenkinsci/docker-build-publish-plugin/compare/899be05ae916...570ab9b547f0

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/com/cloudbees/dockerpublish/DockerBuilder.java src/main/java/com/cloudbees/dockerpublish/DockerCLIHelper.java src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/config.jelly src/main/resources/com/cloudbees/dockerpublish/DockerBuilder/help-createFingerprint.html src/test/java/com/cloudbees/dockerpublish/DockerCLIHelperTest.java src/test/resources/dockerInspectImage_response.json http://jenkins-ci.org/commit/docker-build-publish-plugin/570ab9b547f0f82cc49fa555c2bfe63b8ca79283 Log: Merge pull request #22 from oleg-nenashev/ JENKINS-28675 JENKINS-28675 - Create fingerprints when creating new images Compare: https://github.com/jenkinsci/docker-build-publish-plugin/compare/899be05ae916...570ab9b547f0
          Hide
          oleg_nenashev Oleg Nenashev added a comment -

          It has been released in docker-build-publish-1.0

          Show
          oleg_nenashev Oleg Nenashev added a comment - It has been released in  docker-build-publish-1.0

            People

            Assignee:
            oleg_nenashev Oleg Nenashev
            Reporter:
            oleg_nenashev Oleg Nenashev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: