提交 68197164 编写于 作者: V Vojtech Juranek

Added info in which dir project is built into the log.

上级 62ffc8e8
......@@ -446,13 +446,16 @@ public abstract class AbstractBuild<P extends AbstractProject<P,R>,R extends Abs
launcher = createLauncher(listener);
if (!Jenkins.getInstance().getNodes().isEmpty())
listener.getLogger().println(node instanceof Jenkins ? Messages.AbstractBuild_BuildingOnMaster() :
listener.getLogger().print(node instanceof Jenkins ? Messages.AbstractBuild_BuildingOnMaster() :
Messages.AbstractBuild_BuildingRemotely(HyperlinkNote.encodeTo("/computer/"+ builtOn, builtOn)));
else
listener.getLogger().print(Messages.AbstractBuild_Building());
final Lease lease = decideWorkspace(node,Computer.currentComputer().getWorkspaceList());
try {
workspace = lease.path.getRemote();
listener.getLogger().println(Messages.AbstractBuild_BuildingInWorkspace(workspace));
node.getFileSystemProvisioner().prepareWorkspace(AbstractBuild.this,lease.path,listener);
for (WorkspaceListener wl : WorkspaceListener.all()) {
......
......@@ -24,6 +24,8 @@
AbstractBuild.BuildingRemotely=Building remotely on {0}
AbstractBuild.BuildingOnMaster=Building on master
AbstractBuild_Building=Building
AbstractBuild.BuildingInWorkspace=\ in workspace {0}
AbstractBuild.KeptBecause=kept because of {0}
AbstractItem.NoSuchJobExists=No such job ''{0}'' exists. Perhaps you meant ''{1}''?
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册