@Override
    @NonNull
    public String getId() {
        return ID;
    }
@Test
    public void shouldFailOnValidation5() throws Exception {

        User user = login();
        this.jwtToken = getJwtToken(j.jenkins, user.getId(), user.getId());

        Map<String,Object> resp = post("/organizations/" + getOrgName() + "/pipelines/",
                MapsHelper.of("name", "demo",
                        "$class", "io.jenkins.blueocean.blueocean_git_pipeline.GitPipelineCreateRequest",
                        "scmConfig", MapsHelper.of("uri", sampleRepo.fileUrl(), "credentialId", "sdsdsd")
                ), 400);
        List<Map<String,String>> errors = (List<Map<String,String>>) resp.get("errors");

        assertEquals("scmConfig.credentialId", errors.get(0).get("field"));
        assertEquals("NOT_FOUND", errors.get(0).get("code"));
        assertNull(getOrgRoot().getItem("demo"));
    }