jenkins_url + /api/json?tree=jobs[name,color]
jenkins_url + /job/${job_name}/api/json?tree=builds[number,status,timestamp,id,result]
| // | |
| // ======================================================================== | |
| // Copyright (c) 1995-2015 Mort Bay Consulting Pty. Ltd. | |
| // ------------------------------------------------------------------------ | |
| // All rights reserved. This program and the accompanying materials | |
| // are made available under the terms of the Eclipse Public License v1.0 | |
| // and Apache License v2.0 which accompanies this distribution. | |
| // | |
| // The Eclipse Public License is available at | |
| // http://www.eclipse.org/legal/epl-v10.html |
| package de.tdlabs.training.keycloak; | |
| import static java.util.Arrays.asList; | |
| import javax.ws.rs.core.Response; | |
| import org.jboss.resteasy.client.jaxrs.ResteasyClientBuilder; | |
| import org.keycloak.admin.client.Keycloak; | |
| import org.keycloak.admin.client.KeycloakBuilder; | |
| import org.keycloak.representations.idm.CredentialRepresentation; |