diff --git a/pom.xml b/pom.xml
index 2f62d42..a0600a5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
com.eficode.atlassian
jirainstancemanager
- 2.1.9
+ 2.1.10
A groovy library for interacting with Jira REST API.
diff --git a/src/main/groovy/com/eficode/atlassian/jiraInstanceManager/JiraInstanceManagerRest.groovy b/src/main/groovy/com/eficode/atlassian/jiraInstanceManager/JiraInstanceManagerRest.groovy
index 6bfb3ea..09602ab 100644
--- a/src/main/groovy/com/eficode/atlassian/jiraInstanceManager/JiraInstanceManagerRest.groovy
+++ b/src/main/groovy/com/eficode/atlassian/jiraInstanceManager/JiraInstanceManagerRest.groovy
@@ -1542,7 +1542,8 @@ final class JiraInstanceManagerRest {
assert installGroovySources("https://github.com/eficode/remoteSpock", deployBranch): "Error fetching and/or installing remoteSpock sources"
log.info("\tSuccessfully updated endpoint script")
- String endpointFilePath = "com/eficode/atlassian/jira/remotespock/remoteSpockEndpoint.groovy"
+ //Replacement is needed because shading adds shaded/
+ String endpointFilePath = "com/eficode/atlassian/jira/remotespock/remoteSpockEndpoint.groovy".replace("shaded/", "")
if (withPlugins) {
@@ -1551,7 +1552,7 @@ final class JiraInstanceManagerRest {
String endpointBody = getScriptrunnerFile(endpointFilePath)
endpointBody = endpointBody.replaceFirst(/\/\/@With.*/, withPluginStatements.join("\n"))
assert updateScriptrunnerFile(endpointBody, endpointFilePath): "Error customizing remoteSpockEndpoint.groovy in JIRA"
- log.debug("\t\tFinished customizing endpoint script")
+ log.debug("\t\tFinished customizing endpoint script: " + endpointFilePath)
}
@@ -1599,7 +1600,7 @@ final class JiraInstanceManagerRest {
log.info("Startign test: $fullClassName:${methodToRun ?: "(All)"}")
HttpResponse