"Publish artifacts to Artifactory" option only publish build info to artifactory but not the artifact.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Major
    • Environment:

      I have a simple Ant/Ivy Java project. (workspace.zip) I want to trigger a build on Jenkins such that it will publish the artifact and the ivy descriptor to the Artifactory after the build.

      I have created 3 different type of jobs.

      • Job A: an Ivy project
      • Job B: free-style software project
      • Job C: free-style software project

      ***********************************************************************

      For Job A, i have enabled the "Publish to Artifactory" with "Publish artifacts to Artifactory" checked. You can refer to job-a-config.png.

      After the build, it is found that only the build info is published to the Artifactory but not the artifact. (job-a-build-output.png)

      ***********************************************************************

      For Job B, i have enabled the "Ant/Ivy-Artifactory Integration" with "Publish artifacts to Artifactory" checked. You can refer to job-b-config.png.

      After the build, it is found that only the build info is published to the Artifactory but not the artifact. (job-b-build-output.png)

      ***********************************************************************

      For Job C, i have enabled the "Generic-Artifactory Integration" with "Published Artifacts" set. You can refer to job-c-config.png.

      After the build, the artifact is found in the build folder and it is published to the Artifactory. (job-c-build-output.png)

      ***********************************************************************

      Although i could published the artifact to Artifactory in Job C, i would like to make use of the build features provided by the Ivy Plugin (Job A: job-a-config.png) such that i could have more "Build Triggers" options.

      Moreover, i would like to know the reason why the "Publish artifacts to Artifactory" doesn't work in Job A and Job B.

      And i would also like to know more about the "Settings file" under "Ivy Module Configuration" in job-a-config.png. What does it referring to?

      Thanks for your help.

        1. job-a-build-output.png
          123 kB
          Kit Yuen
        2. job-a-config.png
          148 kB
          Kit Yuen
        3. job-b-build-output.png
          121 kB
          Kit Yuen
        4. job-b-config.png
          128 kB
          Kit Yuen
        5. job-c-build-output.png
          115 kB
          Kit Yuen
        6. job-c-config.png
          121 kB
          Kit Yuen

            Assignee:
            Kevin Formsma
            Reporter:
            Kit Yuen
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: