jenkins-rest | Java client built on top of jclouds | Continous Integration library
kandi X-RAY | jenkins-rest Summary
kandi X-RAY | jenkins-rest Summary
Java client, built on top of jclouds, for working with Jenkins REST API
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Handles an error response
- Parse response message
- Add the specified environment - - - vars
- Re - set the environment variables
- Adds authorization headers to the request
- Get the crumb
- Infers the default authentication credentials
- Attempts to retrieve an external value from the passed system property and environment variables
- Binds parameters to request
- Applies the specified path to the provided folder
- Extracts the location header from the response
- New queue item
- Create a crumb from response
- Applies the given path to a string
- Extract errors from a Throwable
- Remove key - value pairs
- Creates a progressive text from the response
- Get the request status from the response
- Creates a system info from the given HTTP response object
jenkins-rest Key Features
jenkins-rest Examples and Code Snippets
Community Discussions
Trending Discussions on jenkins-rest
QUESTION
My question is similar to this.
What I want is that when my pipelines run, I want to add some information in the job build so that when a REST API call is made it return existing info as well as info that I added to the job build-
Currently, the info present in this API has information like job names, build number, etc...
...ANSWER
Answered 2021-Jan-07 at 14:45If it's just metadata you can use the job description and parse it with Regex using Groovy
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jenkins-rest
Client instances do NOT need to supply the endPoint or credentials as a part of instantiating the JenkinsClient object. Instead one can supply them through system properties, environment variables, or a combination of the two. System properties will be searched first and if not found, will attempt to query the environment.
jenkins.rest.endpoint
jenkinsRestEndpoint
JENKINS_REST_ENDPOINT
jenkins.rest.api.token
jenkinsRestApiToken
JENKINS_REST_API_TOKEN
jenkins.rest.credentials
jenkinsRestCredentials
JENKINS_REST_CREDENTIALS
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page