Test
This commit is contained in:
parent
8657ffb314
commit
263ee996ec
@ -10,8 +10,8 @@ Map defaults = [
|
|||||||
|
|
||||||
def call(Map config = [:]) {
|
def call(Map config = [:]) {
|
||||||
assert config.artifacts : 'must specify artifacts!'
|
assert config.artifacts : 'must specify artifacts!'
|
||||||
String runConfig = defaults + config
|
Map runConfig = defaults + config
|
||||||
if ( fileExists("${runConfig.buildTest}")) {
|
if ( fileExists(runConfig.buildTest)) {
|
||||||
sh """
|
sh """
|
||||||
${runConfig.buildCmd}
|
${runConfig.buildCmd}
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user