From bc0cb7fedcba0fe8982a9c240b0d26fd6cafdff4 Mon Sep 17 00:00:00 2001 From: Mark Grover Date: Fri, 24 Apr 2015 17:21:51 -0700 Subject: [PATCH] Add a convenient link to the job being triggered on the remote server --- .../ParameterizedRemoteTrigger/RemoteBuildConfiguration.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java b/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java index 81c205d0..76207abb 100644 --- a/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java +++ b/src/main/java/org/jenkinsci/plugins/ParameterizedRemoteTrigger/RemoteBuildConfiguration.java @@ -547,6 +547,8 @@ public boolean perform(AbstractBuild build, Launcher launcher, BuildListener lis //Have to form the string ourselves, as we might not get a response from non-parameterized builds String jobURL = remoteServerURL + "/job/" + this.encodeValue(job) + "/"; + listener.getLogger().println("Triggering " + jobURL + Integer.toString(nextBuildNumber)); + // This is only for Debug // This output whether there is another job running on the remote host that this job had conflicted with. // The first condition is what is expected, The second is what would happen if two jobs launched jobs at the