mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 00:25:50 +00:00
check-check
This commit is contained in:
parent
38ea3872ae
commit
f0aeff325d
1 changed files with 7 additions and 5 deletions
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue