diff --git a/Jenkinsfile b/Jenkinsfile index 65aaee497..e6d5bde62 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,11 @@ pipeline { agent any parameters { - string(name: 'NEXUS_VERSION', defaultValue: 'nexus3') - string(name: 'NEXUS_PROTOCOL', defaultValue: 'http') - string(name: 'NEXUS_URL', defaultValue: '172.19.0.3:8081') - string(name: 'NEXUS_REPOSITORY', defaultValue: 'maven-nexus-repo') - string(name: 'NEXUS_CREDENTIAL_ID', defaultValue: 'e6072e08-87bc-481e-9e4a-55d506546356') + string(name: 'NEXUS_VERSION', defaultValue: "nexus3") + string(name: 'NEXUS_PROTOCOL', defaultValue: "http") + string(name: 'NEXUS_URL', defaultValue: "172.19.0.3:8081") + string(name: 'NEXUS_REPOSITORY', defaultValue: "maven-nexus-repo") + string(name: 'NEXUS_CREDENTIAL_ID', defaultValue: "e6072e08-87bc-481e-9e4a-55d506546356") } stages { stage('pull') { @@ -27,6 +27,8 @@ pipeline { stage('push') { steps { script { + checkout scm; + echo "check-check"; pom = readMavenPom file: "pom.xml"; filesByGlob = findFiles(glob: "target/*.${pom.packaging}"); echo "${filesByGlob[0].name} ${filesByGlob[0].path} ${filesByGlob[0].directory} ${filesByGlob[0].length} ${filesByGlob[0].lastModified}"