public String getUploadUrlOfAgent(JobIdentifier jobIdentifier, String filePath) {
        return getUploadUrlOfAgent(jobIdentifier, filePath, 1);
    }
@Test
    public void shouldReturnRestfulUrlOfAgentWithAttemptCounter() {
        String uploadUrl1 = urlService.getUploadUrlOfAgent(jobIdentifier, "file", 1);
        assertThat(uploadUrl1,
                endsWith("/files/pipelineName/LATEST/stageName/LATEST/buildName/file?attempt=1&buildId=123"));
    }