jenkins-php-api | The most easy-to-use PHP API for Jenkins! ๐ ๐ | Continous Integration library
kandi X-RAY | jenkins-php-api Summary
kandi X-RAY | jenkins-php-api Summary
Disclaimer: I know that there are many other Jenkins PHP libraries like this one but my goal by creating this repository is not to crete a competition or something like that. I totally respect the work of other developpers and I saluate their realisation. I just want to create my personnal library and I expose it to you if you want to use it :). Stay cool!.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Get user by name
- Load data from the API
- Get the project s views .
- Returns the item with the given id .
- Get a build from a project .
- Get plugin names .
- Get projects .
- Get values from the result set
- Returns the number of in queue since the specified timestamp .
- Get the jobs .
jenkins-php-api Key Features
jenkins-php-api Examples and Code Snippets
Community Discussions
Trending Discussions on jenkins-php-api
QUESTION
we have a PHP - Symfony project that we would like to run on Google Cloud App Engine Standard but we cannot deploy the app using gcloud app deploy app.yml
because the build fails.
app.yml
...ANSWER
Answered 2019-Mar-15 at 12:46Solved by Google - composer install is called instead of composer update.
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-php-api
Install the package by typing this in your project directory: composer require utarwyn/jenkins-php-api
Include the file vendor/autoload.php in your application.
Follow the guide here to get started.
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