Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-15409

Gradle Build Generating Docker Image & Pushing to Docker Hub - Fails

    XMLWordPrintable

Details

    Description

      Hello,

      I have enabled pipelines for my gradle build in bitbucket repo for Spring Boot project. The builds are fine, but the step to generate docker build is failing saying that it's not able to locate the jar that's generated in gradle's build/lib director. It errors out saying lstat build/libs/user-management-0.0.1-SNAPSHOT.jar: no such file or directory.

      Can somebody take a look at this and check if this a product issue or some problem with my pipeline.yml file

      Pipeline Result https://bitbucket.org/sarang_kanabargi/user-management/addon/pipelines/home#!/results/17

      Dockerfile https://bitbucket.org/sarang_kanabargi/user-management/src/6509ee3a419b221c484f1ab01797beee43159005/Dockerfile?at=master&fileviewer=file-view-default

      Pipeline.yml https://bitbucket.org/sarang_kanabargi/user-management/src/6509ee3a419b221c484f1ab01797beee43159005/bitbucket-pipelines.yml?at=master&fileviewer=file-view-default

      Thanks,

      Attachments

        Activity

          People

            Unassigned Unassigned
            676be375aa9f sarang_kanabargi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: