Uploaded image for project: 'Jenkins Artifactory Plug-in'
  1. Jenkins Artifactory Plug-in
  2. HAP-1068

Docker push pushes image but build fails with 'Could not find manifest.json in Artifactory in the following path'

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 2.16.0
    • Fix Version/s: 2.16.1
    • Component/s: None
    • Labels:
      None

      Description

      Script used to reproduce:

      node{
      stage('Build & Deploy snapshot')

      { def SERVER_ID = 'Artifactory1' def server = Artifactory.server SERVER_ID def rtDocker = Artifactory.docker server: server sh 'sudo docker pull hello-world' sh 'sudo docker tag hello-world:latest 10.6.17.221:8081/docker-local/image/hello-world:latest' def buildInfo = rtDocker.push '10.6.17.221:8081/docker-local/image/hello-world:latest', 'docker-local' // Step 4: Publish the build-info to Artifactory: server.publishBuildInfo buildInfo }

      }

      Expectation: Build should be successful
      Actual result: Build fails with Could not find manifest.json in Artifactory in the following path, however the image is pushed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                barb Bar Belity
                Reporter:
                saraa Sara Ahbabou [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: