Skip to content

Commit a009047

Browse files
guillaumelecerfLinuxSuRen
authored andcommitted
Add a space to GitLabPipelineStatusNotifier log messages for clarity (#69)
1 parent 2a0607e commit a009047

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/io/jenkins/plugins/gitlabbranchsource/helpers/GitLabPipelineStatusNotifier.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,7 @@ public void onEnterWaiting(final Queue.WaitingItem wi) {
272272
return;
273273
}
274274
final Job<?, ?> job = (Job) wi.task;
275-
LOGGER.info("QueueListener: Waiting" + job.getFullDisplayName());
275+
LOGGER.info("QueueListener: Waiting > " + job.getFullDisplayName());
276276
final SCMSource src = SCMSource.SourceByItem.findSource(job);
277277
if (!(src instanceof GitLabSCMSource)) {
278278
return;
@@ -369,7 +369,7 @@ public static class JobCheckOutListener extends SCMListener {
369369
public void onCheckout(Run<?, ?> build, SCM scm, FilePath workspace, TaskListener listener,
370370
File changelogFile,
371371
SCMRevisionState pollingBaseline) {
372-
LOGGER.info("SCMListener: Checkout" + build.getFullDisplayName());
372+
LOGGER.info("SCMListener: Checkout > " + build.getFullDisplayName());
373373
sendNotifications(build, listener);
374374
}
375375
}
@@ -382,15 +382,15 @@ public static class JobCompletedListener extends RunListener<Run<?, ?>> {
382382

383383
@Override
384384
public void onCompleted(Run<?, ?> build, @NonNull TaskListener listener) {
385-
LOGGER.info("RunListener: Complete" + build.getFullDisplayName());
385+
LOGGER.info("RunListener: Complete > " + build.getFullDisplayName());
386386
sendNotifications(build, listener);
387387
logComment(build, listener);
388388

389389
}
390390

391391
@Override
392392
public void onStarted(Run<?, ?> run, TaskListener listener) {
393-
LOGGER.info("RunListener: Started" + run.getFullDisplayName());
393+
LOGGER.info("RunListener: Started > " + run.getFullDisplayName());
394394
sendNotifications(run, listener);
395395
}
396396
}

0 commit comments

Comments
 (0)