From 00d4641f454e81745aa3ce6ba76b60664a6ce506 Mon Sep 17 00:00:00 2001 From: Jared Stehler Date: Wed, 9 Nov 2022 11:04:54 -0500 Subject: [PATCH] clearer method for converting to string --- .../spinnaker/igor/gitlabci/service/GitlabCiPipelineUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/igor-web/src/main/groovy/com/netflix/spinnaker/igor/gitlabci/service/GitlabCiPipelineUtils.java b/igor-web/src/main/groovy/com/netflix/spinnaker/igor/gitlabci/service/GitlabCiPipelineUtils.java index 22a7a3670..8ba6ab81c 100644 --- a/igor-web/src/main/groovy/com/netflix/spinnaker/igor/gitlabci/service/GitlabCiPipelineUtils.java +++ b/igor-web/src/main/groovy/com/netflix/spinnaker/igor/gitlabci/service/GitlabCiPipelineUtils.java @@ -25,7 +25,7 @@ public static GenericBuild genericBuild( String friendlyName = String.format("%s (%s)", pipeline.getRef(), pipeline.getId()); GenericBuild genericBuild = new GenericBuild(); genericBuild.setBuilding(GitlabCiResultConverter.running(pipeline.getStatus())); - genericBuild.setNumber(pipeline.getId() + ""); + genericBuild.setNumber(String.valueOf(pipeline.getId())); genericBuild.setResult( GitlabCiResultConverter.getResultFromGitlabCiState(pipeline.getStatus())); genericBuild.setName(friendlyName);