mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 00:25:50 +00:00
variables
This commit is contained in:
parent
efc05eea18
commit
d1e8e86ac8
1 changed files with 6 additions and 6 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -36,14 +36,14 @@ pipeline {
|
|||
if(artifactExists) {
|
||||
echo "*** File: ${artifactPath}, group: ${pom.groupId}, packaging: ${pom.packaging}, version ${pom.version}";
|
||||
|
||||
nexusArtifactUploader(
|
||||
nexusVersion: NEXUS_VERSION,
|
||||
protocol: NEXUS_PROTOCOL,
|
||||
nexusUrl: NEXUS_URL,
|
||||
def nexusArtifactUploader(
|
||||
nexusVersion: ${NEXUS_VERSION},
|
||||
protocol: ${NEXUS_PROTOCOL},
|
||||
nexusUrl: ${NEXUS_URL},
|
||||
groupId: pom.groupId,
|
||||
version: pom.version,
|
||||
repository: NEXUS_REPOSITORY,
|
||||
credentialsId: NEXUS_CREDENTIAL_ID,
|
||||
repository: ${NEXUS_REPOSITORY},
|
||||
credentialsId: ${NEXUS_CREDENTIAL_ID},
|
||||
artifacts: [
|
||||
[artifactId: pom.artifactId,
|
||||
classifier: '',
|
||||
|
|
Loading…
Reference in a new issue