[JIRA] [artifactory-plugin] (JENKINS-17593) Artifactory Plugin Uses Incorrect Artifact Names

2 views
Skip to first unread message

andrew@javapathologist.com (JIRA)

unread,
Jul 24, 2015, 6:25:03 PM7/24/15
to jenkinsc...@googlegroups.com
Andrew McLaughlin commented on Bug JENKINS-17593
 
Re: Artifactory Plugin Uses Incorrect Artifact Names

Still happening as of July 2015 (1.601). Will check the latest release (1.621) and also try the Advanced Project OPtions to see if I can fix that way. Very annoying that it works differently than build/publish from my desktop. No other comments since 2013?!?!

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

gcstang@gmail.com (JIRA)

unread,
Jan 1, 2016, 10:12:05 AM1/1/16
to jenkinsc...@googlegroups.com

I have the same issue, thank you for your response.
This solved my issue for now.

dbeck@cloudbees.com (JIRA)

unread,
May 31, 2016, 5:10:30 AM5/31/16
to jenkinsc...@googlegroups.com
Daniel Beck assigned an issue to Eyal Ben Moshe
 
Jenkins / Bug JENKINS-17593
Change By: Daniel Beck
Assignee: yossis Eyal Ben Moshe

normana400@yahoo.com (JIRA)

unread,
Jun 27, 2018, 7:48:03 PM6/27/18
to jenkinsc...@googlegroups.com
Andrew Norman commented on Bug JENKINS-17593
 
Re: Artifactory Plugin Uses Incorrect Artifact Names

The issue I noticed didn't involve a Gradle project. I was able to reproduce this in an SBT / Scala project where the name setting and the last node in the oragnization were the same name.

for example: 

name := "myproject"

organization := "com.myproject"

 

in this case jenkins will create the artifact as workspace_2.11-01-SNAPSHOT.jar (instead of the expected myproject_2.11-0.1-SNAPSHOT).

It will also publish the artifact in the directory /com/myproject/workspace_2.11/0.1-SNAPSHOT (instead of the expected /com/myproject/myproject_2.11/0.1-SNAPSHOT).

Oddly enough just running the sbt build locally on the in a develop environment will generate the jar by its correct name

So I suspect the root cause is that jenkins can't handle the situation where the artifact name is the same as the last node of the organization 

This message was sent by Atlassian JIRA (v7.10.1#710002-sha1:6efc396)

derek.r.drake@gmail.com (JIRA)

unread,
Nov 7, 2019, 10:52:03 PM11/7/19
to jenkinsc...@googlegroups.com

I had this same problem until I provided an artifactId for the publication.

This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages