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:
parent
cb9318814c
commit
b092957f7d
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user