Skip to content

Commit 28ae4fa

Browse files
committed
Fixing linksys error
1 parent fb64b55 commit 28ae4fa

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

build.gradle

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ext.pluginName = 'Git Plugin'
1010
ext.pluginDescription = 'Git Plugin'
1111

1212
scmVersion {
13+
ignoreUncommittedChanges = false
1314
tag {
1415
prefix = ''
1516
versionSeparator = ''
@@ -48,7 +49,7 @@ dependencies {
4849

4950
compile group: 'org.rundeck', name: 'rundeck-core', version: '2.11.4'
5051

51-
pluginLibs( 'org.eclipse.jgit:org.eclipse.jgit:3.7.1.201504261725-r') {
52+
pluginLibs( 'org.eclipse.jgit:org.eclipse.jgit:4.4.0.201606070830-r') {
5253
exclude module: 'slf4j-api'
5354
exclude module: 'jsch'
5455
exclude module: 'commons-logging'

src/main/groovy/com/rundeck/plugin/GitManager.groovy

+3-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ class GitManager {
9494
setBranch(this.branch).
9595
setRemote(REMOTE_NAME).
9696
setDirectory(base).
97-
setURI(this.gitURL)
97+
setURI(this.gitURL).
98+
setCloneSubmodules(true)
99+
98100

99101
try {
100102
setupTransportAuthentication(sshConfig, cloneCommand, this.gitURL)

0 commit comments

Comments
 (0)