We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 336957c commit 39ab688Copy full SHA for 39ab688
vars/runJenkinsPipeline.groovy
@@ -660,9 +660,8 @@ def call(){
660
steps{
661
script{
662
configFileProvider([configFile(fileId: 'getmarc_deployapi', variable: 'CONFIG_FILE')]) {
663
- def CONFIG_JSON = readJSON(file: CONFIG_FILE)
664
- echo "CONFIG_JSON = ${CONFIG_JSON}"
665
- def CONFIG = CONFIG_JSON['deploy']
+ def CONFIG = readJSON(file: CONFIG_FILE)['deploy']
+ echo "CONFIG = ${CONFIG}"
666
def build_args = CONFIG['docker']['build']['buildArgs'].collect{"--build-arg=${it}"}.join(' ')
667
docker.withRegistry(CONFIG['docker']['server']['registry'], 'jenkins-nexus'){
668
def dockerImage = docker.build("${IMAGE_NAME}:${DOCKER_TAG}", "${build_args} .")
0 commit comments