mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 00:25:50 +00:00
restore bask
This commit is contained in:
parent
c95641049e
commit
efc05eea18
1 changed files with 7 additions and 3 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -32,8 +32,9 @@ pipeline {
|
|||
echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"
|
||||
artifactPath = filesByGlob[0].path;
|
||||
artifactExists = fileExists artifactPath;
|
||||
}
|
||||
when(artifactExists) {
|
||||
|
||||
if(artifactExists) {
|
||||
echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
|
||||
|
||||
nexusArtifactUploader(
|
||||
nexusVersion: NEXUS_VERSION,
|
||||
|
@ -54,8 +55,11 @@ pipeline {
|
|||
type: "pom"]
|
||||
]
|
||||
);
|
||||
}
|
||||
} else {
|
||||
error "*** File: ${artifactPath}, could not be found";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue