mirror of
https://github.com/firstBitMarksistskaya/jenkins-lib.git
synced 2024-11-28 09:33:03 +02:00
Попытка обойти работу CPS через дженерики
This commit is contained in:
parent
8554179938
commit
3c4ef7443d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user