mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 00:45:50 +00:00
upload gap
This commit is contained in:
parent
0973da0739
commit
58f6787c6a
1 changed files with 2 additions and 0 deletions
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
|
@ -32,8 +32,10 @@ pipeline {
|
||||||
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
|
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
|
||||||
artifactPath = filesByGlob[0].path;
|
artifactPath = filesByGlob[0].path;
|
||||||
artifactExists = fileExists artifactPath;
|
artifactExists = fileExists artifactPath;
|
||||||
|
|
||||||
if(artifactExists) {
|
if(artifactExists) {
|
||||||
echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
|
echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
|
||||||
|
|
||||||
nexusArtifactUploader(
|
nexusArtifactUploader(
|
||||||
nexusVersion: NEXUS_VERSION,
|
nexusVersion: NEXUS_VERSION,
|
||||||
protocol: NEXUS_PROTOCOL,
|
protocol: NEXUS_PROTOCOL,
|
||||||
|
|
Loading…
Reference in a new issue