@Override
    @NonNull
    public String getId() {
        return ID;
    }
@Test
    public void shouldNotCreateCredentialsForBadUrl2() throws Exception {
        User user = login("Ken", "Create", "ken@create.item");
        MockAuthorizationStrategy a = new MockAuthorizationStrategy();
        a.grant(Jenkins.READ, Item.CREATE).everywhere().to(user.getId());
        j.jenkins.setAuthorizationStrategy(a);

        String scmPath = "/organizations/" + getOrgName() + "/scm/git/";

        // First create a credential
        String scmValidatePath = scmPath + "validate";

        // We're relying on github letting you do a git-ls for repos with bad creds so long as they're public
        Map params = MapsHelper.of(
            "userName", "someguy",
            "password", "password",
            "repositoryUrl", "http://example.org/has/no/repos.git"
        );

        Map resp = new RequestBuilder(baseUrl)
            .status(428)
            .jwtToken(getJwtToken(j.jenkins,user.getId(), user.getId()))
            .crumb( crumb )
            .data(params)
            .post(scmValidatePath)
            .build(Map.class);

        assertTrue(resp.get("message").toString().toLowerCase().contains("url unreachable"));
    }