mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-26 08:55:49 +00:00
back to origins with envs
This commit is contained in:
parent
9cc4619610
commit
c10e7c3dd0
1 changed files with 1 additions and 9 deletions
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
|
@ -62,15 +62,7 @@ pipeline {
|
||||||
// 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: ${env.NEXUS_VERSION}, protocol: ${env.NEXUS_PROTOCOL}, nexusUrl: ${env.NEXUS_URL}, groupId: pom.groupId, version: pom.version, repository: ${env.NEXUS_REPOSITORY}, credentialsId: ${env.NEXUS_CREDENTIAL_ID}, artifacts: [
|
||||||
nexusVersion: ${env.NEXUS_VERSION},
|
|
||||||
protocol: ${env.NEXUS_PROTOCOL},
|
|
||||||
nexusUrl: ${env.NEXUS_URL},
|
|
||||||
groupId: pom.groupId,
|
|
||||||
version: pom.version,
|
|
||||||
repository: ${env.NEXUS_REPOSITORY},
|
|
||||||
credentialsId: ${env.NEXUS_CREDENTIAL_ID},
|
|
||||||
artifacts: [
|
|
||||||
[artifactId: pom.artifactId,
|
[artifactId: pom.artifactId,
|
||||||
classifier: '',
|
classifier: '',
|
||||||
file: artifactPath,
|
file: artifactPath,
|
||||||
|
|
Loading…
Reference in a new issue