jenkins-client-plugin | OpenShift Pipeline DSL Plug-in is a Jenkins plug | Continuous Deployment library
kandi X-RAY | jenkins-client-plugin Summary
kandi X-RAY | jenkins-client-plugin Summary
jenkins-client-plugin is a Java library typically used in Devops, Continuous Deployment, Ansible, Jenkin, Docker applications. jenkins-client-plugin has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. However jenkins-client-plugin has 4 bugs. You can download it from GitHub.
The OpenShift Pipeline DSL Plugin is a Jenkins plugin which aims to provide a readable, concise, comprehensive, and fluent Jenkins Pipeline syntax for rich interactions with an OpenShift API Server. The plugin leverages an OpenShift command line tool (oc) which must be available on the nodes executing the script (options for getting the binary on your nodes can be found here). Starting with the 3.7 release of OpenShift, this plugin is now considered GA, is fully supported, and is included in the OpenShift Jenkins images.
The OpenShift Pipeline DSL Plugin is a Jenkins plugin which aims to provide a readable, concise, comprehensive, and fluent Jenkins Pipeline syntax for rich interactions with an OpenShift API Server. The plugin leverages an OpenShift command line tool (oc) which must be available on the nodes executing the script (options for getting the binary on your nodes can be found here). Starting with the 3.7 release of OpenShift, this plugin is now considered GA, is fully supported, and is included in the OpenShift Jenkins images.
Support
Quality
Security
License
Reuse
Support
jenkins-client-plugin has a low active ecosystem.
It has 219 star(s) with 144 fork(s). There are 156 watchers for this library.
It had no major release in the last 6 months.
There are 3 open issues and 201 have been closed. On average issues are closed in 164 days. There are 8 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of jenkins-client-plugin is current.
Quality
jenkins-client-plugin has 4 bugs (0 blocker, 0 critical, 4 major, 0 minor) and 129 code smells.
Security
jenkins-client-plugin has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
jenkins-client-plugin code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
jenkins-client-plugin is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
jenkins-client-plugin releases are not available. You will need to build from source code and install.
Build file is available. You can build the component from source.
Installation instructions, examples and code snippets are available.
jenkins-client-plugin saves you 1312 person hours of effort in developing the same functionality from scratch.
It has 2943 lines of code, 197 functions and 44 files.
It has medium code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi has reviewed jenkins-client-plugin and discovered the below as its top functions. This is intended to give you an instant insight into jenkins-client-plugin implemented functionality, and help decide if they suit your requirements.
- Run the env command
- Gets the fail pattern
- Gets the template
- Gets the success pattern
- Performs DELETE request
- Gets the kind
- Returns the property name
- Returns the selection arguments
- Get the OpenShift value
- Gets the OpenShift name
- Executes the command
- Gets the json yaml
- Runs the remote process
- Get the OsType from the current platform
- Get OC
- Fix the path in the command array
- Fill a list box with credentials id
- Get the command as an array
- Set the credentials id
- Set the default project
- Set the server certificate authority
- Set the server url
- Returns a string describing the OpenShift cluster
- Builds the environment vars
- Returns a new OpenShift clientTools instance for the given environment
Get all kandi verified functions for this library.
jenkins-client-plugin Key Features
No Key Features are available at this moment for jenkins-client-plugin.
jenkins-client-plugin Examples and Code Snippets
No Code Snippets are available at this moment for jenkins-client-plugin.
Community Discussions
Trending Discussions on jenkins-client-plugin
QUESTION
Check status of last build in openshift using untilEach openshift jenkins client plugin
Asked 2020-Jun-09 at 01:09
I want to check the latest build status using the openshift jenkins client plugin. Following the official documentation here
...ANSWER
Answered 2020-Jun-09 at 01:09After much research turns out the answer was right there in front of my face. Just add the "--wait"
argument in the previous startBuild
step.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install jenkins-client-plugin
You can define a new credential using the OpenShift Sync plugin or directly in the Jenkins credential store. To define a new credential using the OpenShift sync plugin, you can add a Opaque/generic secret where the data has a "openshift-client-token" key. This token will be accessible with the credential ID of "${OPENSHIFT_NAMESPACE}-my-prilvileged-token-id". To define a new credential for the DSL in the Jenkins credential store, navigate to Credentials -> System -> Global credentials -> Add Credentials (you can the domain based on your particular security requirements). This token can then be selected as the default token for a given Jenkins configuration cluster OR used tactically in the DSL with openshift.withCredentials( 'my-privileged-credential-id' ) {...} .
Each Jenkins node (master/agents) must have a copy of the OpenShift command line tool (oc) installed and in the Jenkins PATH environment variable. If your Jenkins nodes are running OpenShift images, stop reading here: they are already installed!. If your nodes are running outside of OpenShift, you can install the tool on each node yourself, or use Jenkins' Tool installer to do it for you. To do this, as authorized Jenkins user, navigate to Manage Jenkins -> Global Tool Configuration -> and find the "OpenShift Client Tools" section. Here you can define a version of the client tools, where to find them, and if they should be automatically instead when a node requires them. In the following example, a logical name "oc1.3.2" is associated with a particular build of the client tools available on github, which contains a folder inside with the 'oc' binary so you must specify this folder as "Subdirectory of extracted archive" while configuring the tool. Using this tool is then a simple matter of executing the OpenShift operations with the PATH adjusted to give it preference. If configured as above, the client tools will automatically be installed once on nodes that use the Pipeline 'tool' step. Please refer to Jenkins documentation on Global Tool Configuration which allows, for example, Linux and Windows nodes to acquire different builds of a tool.
Each Jenkins node (master/agents) must have a copy of the OpenShift command line tool (oc) installed and in the Jenkins PATH environment variable. If your Jenkins nodes are running OpenShift images, stop reading here: they are already installed!. If your nodes are running outside of OpenShift, you can install the tool on each node yourself, or use Jenkins' Tool installer to do it for you. To do this, as authorized Jenkins user, navigate to Manage Jenkins -> Global Tool Configuration -> and find the "OpenShift Client Tools" section. Here you can define a version of the client tools, where to find them, and if they should be automatically instead when a node requires them. In the following example, a logical name "oc1.3.2" is associated with a particular build of the client tools available on github, which contains a folder inside with the 'oc' binary so you must specify this folder as "Subdirectory of extracted archive" while configuring the tool. Using this tool is then a simple matter of executing the OpenShift operations with the PATH adjusted to give it preference. If configured as above, the client tools will automatically be installed once on nodes that use the Pipeline 'tool' step. Please refer to Jenkins documentation on Global Tool Configuration which allows, for example, Linux and Windows nodes to acquire different builds of a tool.
Support
Want to see the details of your OpenShift API Server interactions?.
Find more information at:
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