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.
[JENKINS-19537] "Publish artifacts to Artifactory" option only publish build info to artifactory but not the artifact.
Description |
Original:
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. Thanks for your help. |
New:
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. |
Assignee | Original: yossis [ yossis ] | New: Kevin Formsma [ arothian ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Workflow | Original: JNJira [ 150991 ] | New: JNJira + In-Review [ 193764 ] |