From 1fbd85364cc6a72286839b2d3696c46be602bbc7 Mon Sep 17 00:00:00 2001 From: VSAzima Date: Fri, 23 Apr 2021 12:01:06 +0400 Subject: [PATCH] params --- Jenkinsfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index cdfb383ab..25f9259fe 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,11 +1,11 @@ pipeline { agent any parameters { - string(NEXUS_VERSION: 'nexus3') - string(NEXUS_PROTOCOL: 'http') - string(NEXUS_URL: '172.19.0.3:8081') - string(NEXUS_REPOSITORY: 'maven-nexus-repo') - string(NEXUS_CREDENTIAL_ID: 'e6072e08-87bc-481e-9e4a-55d506546356') + string(name: 'NEXUS_VERSION', defaultValue: 'nexus3') + string(name: 'NEXUS_PROTOCOL', defaultValue: 'http') + string(name: '172.19.0.3:8081', defaultValue: '172.19.0.3:8081') + string(name: 'maven-nexus-repo', defaultValue: 'maven-nexus-repo') + string(name: 'e6072e08-87bc-481e-9e4a-55d506546356', defaultValue: 'e6072e08-87bc-481e-9e4a-55d506546356') } stages { stage('pull') {