check-check

This commit is contained in:
VSAzima 2021-04-23 12:19:01 +04:00
parent 38ea3872ae
commit f0aeff325d

12
Jenkinsfile vendored
View file

@ -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}"