Skip to content

Commit

Permalink
Merge pull request #155 from jglick/CpsScmFlowDefinition-diag
Browse files Browse the repository at this point in the history
Make it more obvious where the @script checkout is happening
  • Loading branch information
jglick committed Jul 13, 2017
2 parents 7954ab5 + cd54dcb commit b476ea4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -106,7 +106,6 @@ public boolean isLightweight() {
}
}
}
listener.getLogger().println("Checking out " + scm.getKey() + " to read " + scriptPath);
FilePath dir;
Node node = Jenkins.getActiveInstance();
if (build.getParent() instanceof TopLevelItem) {
Expand All @@ -118,6 +117,7 @@ public boolean isLightweight() {
} else { // should not happen, but just in case:
dir = new FilePath(owner.getRootDir());
}
listener.getLogger().println("Checking out " + scm.getKey() + " into " + dir + " to read " + scriptPath);
String script;
Computer computer = node.toComputer();
if (computer == null) {
Expand Down

0 comments on commit b476ea4

Please sign in to comment.