Don't call closure twice
This commit is contained in:
parent
8251c7b7bb
commit
3c2f75c464
@ -25,6 +25,5 @@ void call(Map config = [:], Closure body = { }) {
|
||||
artifactsList = runConfig.artifacts.join(',')
|
||||
archiveArtifacts artifacts: artifactsList, followSymlinks: false
|
||||
}
|
||||
body()
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user