@@ -25,7 +25,7 @@ class Nexus implements Serializable {
|
||||
@param String type type of Repository
|
||||
*/
|
||||
public String upload(Map args = [:], String type = "raw") {
|
||||
String artifactName = args.artifactName ?: args.artifact.split('/').last()
|
||||
String artifactName = args.artifactName ?: args.artifactPath.split('/').last()
|
||||
String artifactUrl = args.artifactUrl ?: "${host}/repository/${args.repository}/${args.path}/${artifactName}"
|
||||
|
||||
script.httpRequest(
|
||||
|
||||
Reference in New Issue
Block a user