1
0
mirror of https://github.com/SAP/jenkins-library.git synced 2024-12-14 11:03:09 +02:00

put source parameter into common parameters

This commit is contained in:
Marcus Holl 2018-04-20 15:42:58 +02:00
parent cb9318814c
commit b092957f7d

View File

@ -153,6 +153,7 @@ def call(parameters = [:]) {
def neoExecutable = neo.getToolExecutable(this, configuration)
def neoDeployScript = """#!/bin/bash
"${neoExecutable}" ${warAction} \
--source "${archivePath}" \
"""
if (deployMode in ['mta', 'warParams']) {
@ -187,7 +188,6 @@ def call(parameters = [:]) {
def commonDeployParams =
"""--user '${username}' \
--password '${password}' \
--source "${archivePath}" \
"""
dockerExecute(dockerImage: configuration.get('dockerImage'),
dockerEnvVars: configuration.get('dockerEnvVars'),