Skip to content
Permalink
Browse files

[FIXED JENKINS-14262] Add more diagnostic detail to failure message.

  • Loading branch information
jglick committed Nov 5, 2012
1 parent 0e3f0df commit 5826a3dcf2325dd4ee19e727b6568a90de327f1b
@@ -232,7 +232,7 @@ private boolean perform(Run src, AbstractBuild<?,?> dst, String expandedFilter,
: new FilePath(src.getArtifactsDir());
if (srcDir == null || !srcDir.exists()) {
console.println(useWs ? Messages.CopyArtifact_MissingSrcWorkspace() // (see JENKINS-3330)
: Messages.CopyArtifact_MissingSrcArtifacts());
: Messages.CopyArtifact_MissingSrcArtifacts(srcDir));
return isOptional(); // Fail build unless copy is optional
}

@@ -7,7 +7,7 @@ CopyArtifact.MissingBuild=Unable to find a build for artifact copy from: {0}
CopyArtifact.MissingProject=Unable to find project for artifact copy: {0}\n\
This may be due to incorrect project name or permission settings; \
see help for project name in job configuration.
CopyArtifact.MissingSrcArtifacts=Unable to access upstream artifacts area. Does source project archive artifacts?
CopyArtifact.MissingSrcArtifacts=Unable to access upstream artifacts area {0}. Does source project archive artifacts?
CopyArtifact.MissingSrcWorkspace=Unable to access upstream workspace for artifact copy. Slave node offline?
CopyArtifact.MissingWorkspace=Unable to access workspace for artifact copy. Slave node offline?
CopyArtifact.ParameterizedName=Value references a build parameter, so it cannot be validated.

0 comments on commit 5826a3d

Please sign in to comment.
You can’t perform that action at this time.