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

Типизация

This commit is contained in:
Nikita Gryzlov 2021-06-16 10:29:35 +03:00
parent 0a91cc35c2
commit 8170ed17cc
No known key found for this signature in database
GPG Key ID: C3CAA2980494E7E6
2 changed files with 3 additions and 2 deletions

View File

@ -4,6 +4,6 @@ import ru.pulsar.jenkins.library.ioc.ContextRegistry
int call(String script, boolean returnStatus = false) {
ContextRegistry.registerDefaultContext(this)
def cmd = new Cmd(script, returnStatus)
Cmd cmd = new Cmd(script, returnStatus)
return cmd.run()
}

View File

@ -1,3 +1,4 @@
/* groovylint-disable NestedBlockDepth */
import groovy.transform.Field
import ru.pulsar.jenkins.library.configuration.JobConfiguration
@ -7,7 +8,7 @@ import java.util.concurrent.TimeUnit
JobConfiguration config
@Field
def agent1C
String agent1C
void call() {