You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
revertXC
changed the title
Jenkins could not obtain system attributes
Jenkins could not obtain system attributes.
May 26, 2022
revertXC
changed the title
Jenkins could not obtain system attributes.
Jenkins could not obtain system attributes. The obtained property:jenkinsVersion=-1
May 26, 2022
Current Behavior
SystemInfo{errors=[Error{context=null, message=Null server, exceptionName=java.lang.NullPointerException}], hudsonVersion=-1, jenkinsVersion=-1, jenkinsSession=-1, instanceIdentity=-1, sshEndpoint=-1, server=-1}
Steps to Reproduce (for bugs)
public static void main(String[] args) throws Exception {
JenkinsClient client = JenkinsClient.builder()
.endPoint("http://127.0.0.1:19999/jenkins")
.credentials("root:root")
.build();
SystemInfo systemInfo = client.api().systemApi().systemInfo();
System.out.println(systemInfo);
}
Your Environment
<dependency> <groupId>io.github.cdancy</groupId> <artifactId>jenkins-rest</artifactId> <version>1.0.1</version> </dependency>
Jenkins 2.332.3
The text was updated successfully, but these errors were encountered: