Skip to content

Commit

Permalink
Merge branch 'release/v0.3.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
nixel2007 committed Jun 16, 2021
2 parents d39e9d1 + 3cb3691 commit 4202161
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import org.apache.commons.beanutils.BeanUtils
import ru.pulsar.jenkins.library.IStepExecutor
import ru.pulsar.jenkins.library.ioc.ContextRegistry

import javax.annotation.CheckForNull

class ConfigurationReader implements Serializable {

private static ObjectMapper mapper
Expand Down Expand Up @@ -78,15 +76,15 @@ class ConfigurationReader implements Serializable {
}

@NonCPS
private static void mergeInitInfobaseOptions(InitInfobaseOptions baseObject, @CheckForNull InitInfobaseOptions objectToMerge) {
private static void mergeInitInfobaseOptions(InitInfobaseOptions baseObject, InitInfobaseOptions objectToMerge) {
if (objectToMerge == null || objectToMerge.additionalInitializationSteps == null) {
return
}
baseObject.additionalInitializationSteps = objectToMerge.additionalInitializationSteps.clone()
}

@NonCPS
private static void mergeBddOptions(BddOptions baseObject, @CheckForNull BddOptions objectToMerge) {
private static void mergeBddOptions(BddOptions baseObject, BddOptions objectToMerge) {
if (objectToMerge == null || objectToMerge.vrunnerSteps == null) {
return
}
Expand Down
2 changes: 1 addition & 1 deletion vars/cmd.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
3 changes: 2 additions & 1 deletion vars/pipeline1C.groovy
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* groovylint-disable NestedBlockDepth */
import groovy.transform.Field
import ru.pulsar.jenkins.library.configuration.JobConfiguration

Expand All @@ -7,7 +8,7 @@ import java.util.concurrent.TimeUnit
JobConfiguration config

@Field
def agent1C
String agent1C

void call() {

Expand Down

0 comments on commit 4202161

Please sign in to comment.