1
0
mirror of https://github.com/firstBitMarksistskaya/jenkins-lib.git synced 2024-11-28 09:33:03 +02:00

Попытка обойти работу CPS через дженерики

This commit is contained in:
Nikita Gryzlov 2020-04-05 13:21:51 +03:00
parent 8554179938
commit 3c4ef7443d
No known key found for this signature in database
GPG Key ID: C1EAE411FEF0BF2F

View File

@ -1,6 +1,6 @@
import ru.pulsar.jenkins.library.configuration.JobConfiguration
def call(JobConfiguration jobConfiguration, Closure body) {
def <T extends Closure> void call(JobConfiguration jobConfiguration, T body) {
withCredentials([
usernamePassword(
credentialsId: jobConfiguration.secrets.storage,