diff --git a/release.properties b/release.properties deleted file mode 100644 index cb26bce..0000000 --- a/release.properties +++ /dev/null @@ -1,12 +0,0 @@ -#release configuration -#Sun Nov 28 20:38:01 CET 2021 -scm.tagNameFormat=@{project.artifactId}-@{project.version} -pushChanges=true -scm.url=scm\:git\:git@github.com\:jenkinsci/bitbucket-push-and-pull-request-plugin.git -preparationGoals=clean install -remoteTagging=true -projectVersionPolicyId=default -scm.commentPrefix=[maven-release-plugin] -exec.additionalArguments= -exec.snapshotReleasePluginAllowed=false -completedPhase=check-poms diff --git a/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRJobProbe.java b/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRJobProbe.java index f72ccdc..95e4336 100644 --- a/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRJobProbe.java +++ b/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/BitBucketPPRJobProbe.java @@ -113,7 +113,7 @@ private void triggerScm(@Nonnull Job job, List remotes, // @todo add comments to explain what is this check for if (job.getParent() instanceof MultiBranchProject && mPJobShouldNotBeTriggered(job, bitbucketEvent, bitbucketAction)) { - logger.log(Level.FINEST, "Skipping job {}.", job.getDisplayName()); + logger.log(Level.FINEST, "Skipping job {0}.", job.getDisplayName()); return; } diff --git a/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/receiver/BitBucketPPRHookReceiver.java b/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/receiver/BitBucketPPRHookReceiver.java index 9474fcf..427b2b4 100644 --- a/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/receiver/BitBucketPPRHookReceiver.java +++ b/src/main/java/io/jenkins/plugins/bitbucketpushandpullrequest/receiver/BitBucketPPRHookReceiver.java @@ -118,7 +118,7 @@ BitBucketPPRPayload getPayload(@Nonnull final String inputStream, throws JsonSyntaxException, OperationNotSupportedException { BitBucketPPRPayload pl = new Gson().fromJson(inputStream, BitBucketPPRPayloadFactory.getInstance(bitbucketEvent).getClass()); - logger.log(Level.FINEST, "the payload is: {}", pl); + logger.log(Level.FINEST, "the payload is: {0}", pl); return pl; }