[DO-1361] add_pipeline_avroid_service_lib (!53)
Co-authored-by: Rustam Tagaev <rustam.tagaev@avroid.tech> Reviewed-on: https://git.avroid.tech/DevOps/jenkins-pipelines/pulls/53
This commit is contained in:
@@ -55,16 +55,18 @@ slaveTemplates.jnlp {
|
|||||||
print "Upload from tag ${env.TAG_NAME}"
|
print "Upload from tag ${env.TAG_NAME}"
|
||||||
|
|
||||||
dir(localArtifactDir){
|
dir(localArtifactDir){
|
||||||
String artifact = sh(
|
String artifacts = sh(
|
||||||
script: """#!/bin/sh
|
script: """#!/bin/sh
|
||||||
ls *.whl
|
ls *.whl *.gz
|
||||||
""",
|
""",
|
||||||
returnStdout: true).trim()
|
returnStdout: true).trim()
|
||||||
print artifact
|
|
||||||
nexus.uploadPypiArtifact(
|
artifacts.split().each { artifact ->
|
||||||
artifact: "${artifact}",
|
nexus.uploadPypiArtifact(
|
||||||
repository: nexusRepoName
|
artifact: "${artifact}",
|
||||||
)
|
repository: nexusRepoName
|
||||||
|
)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user