mirror of
https://github.com/SAP/jenkins-library.git
synced 2026-06-19 22:58:55 +02:00
Create new instance of GitUtils in case there is no provided from outside
This commit is contained in:
committed by
Marcus Holl
parent
9adad5ba37
commit
8eb8f23069
@@ -12,7 +12,7 @@ public class ChangeManagement implements Serializable {
|
||||
|
||||
public ChangeManagement(def script, GitUtils gitUtils = null) {
|
||||
this.script = script
|
||||
this.gitUtils = gitUtils
|
||||
this.gitUtils = gitUtils ?: new GitUtils()
|
||||
}
|
||||
|
||||
String getChangeDocumentId(
|
||||
|
||||
Reference in New Issue
Block a user