Jenkins-Khan | Jenkins Khan is a php tool | Continuous Deployment library
kandi X-RAY | Jenkins-Khan Summary
kandi X-RAY | Jenkins-Khan Summary
Jenkins Khan is a php tool that helps you manage a [Jenkins] integration server. With JK you can easily launch different jobs on your working branches and check the result of each job, grouped by your branches.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get extension from a type
- Get the stylesheet .
- Creates a select statement for the given criteria .
- Delete Files by rule
- Return the object as XML
- Hash blocks in Markdown text .
- Build the DQL query .
- Adds the doSelectAllAll method for this table .
- Adds the filter by column .
- Adds the doSave method .
Jenkins-Khan Key Features
Jenkins-Khan Examples and Code Snippets
Community Discussions
Trending Discussions on Jenkins-Khan
QUESTION
In the effort to create a unified CICD process for our applications I am trying to connect to my Jenkins remote access API utilizing this (poorly documented) Jenkins-PHP API which is essentially a wrapper for the cURL functions used for accessing a remote website.
Here is my test connection:
...ANSWER
Answered 2017-Sep-15 at 19:42It turns out there are a couple of problems using the JenkinsKahn API class. I can only blame myself for not seeing that there had been no maintenance on the project in a year, so my current version of Jenkins wouldn't respond properly, but it did give me some hints.
Given the error was:
Could not resolve host
I started looking at the host string I was trying to access and determined that putting the user name and password in the string were making the host un-resolvable (thanks to some questions/interrogation/prodding by a good friend). Using the host string alone resulted in:
access denied (403)
First, this means I was reaching the host, but I was unable to access. Consequently I wrote some pure cURL to deal with the issue of not including the user name and password in the host string but letting cURL do the authentication.
Second, if I appended '/api/json' (according to Jenkin's docs on the subject) to the URL in my web browser I would get back a JSON string. So I made sure to include '/api/json' at the end of the URL for my cURL call.
Here is what I ended up with:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Jenkins-Khan
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
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