PHPackages                             acamposm/atlas-jenkins-connector - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. acamposm/atlas-jenkins-connector

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

acamposm/atlas-jenkins-connector
================================

A PHP connector for the Jenkins API.

1.0.0(1mo ago)10MITPHPPHP ^8.5

Since May 9Pushed 2w agoCompare

[ Source](https://github.com/angelcamposm/atlas-jenkins-connector)[ Packagist](https://packagist.org/packages/acamposm/atlas-jenkins-connector)[ RSS](/packages/acamposm-atlas-jenkins-connector/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

 [![Atlas Jenkins Connector](https://github.com/angelcamposm/atlas-jenkins-connector/raw/master/docs/images/cover.png)](https://github.com/angelcamposm/atlas-jenkins-connector/blob/master/docs/images/cover.png)

 [ ![Total Downloads](https://camo.githubusercontent.com/4258af24b4c2764d692b87fae8886f26496f91e697d05ff4d962f3ef70b83052/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6163616d706f736d2f61746c61732d6a656e6b696e732d636f6e6e6563746f72) ](https://packagist.org/packages/acamposm/atlas-jenkins-connector) [ ![Latest Version](https://camo.githubusercontent.com/b93b24b88dbccb83bf2f9f1e326bd52548780eb76a6e251ec7e87e131121ddc5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6163616d706f736d2f61746c61732d6a656e6b696e732d636f6e6e6563746f72) ](https://packagist.org/packages/acamposm/atlas-jenkins-connector) [ ![Packagist License](https://camo.githubusercontent.com/2fa295e21e512d1079e83cecf4856c17accc1a8d133a173df5dcf900d97e1734/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6163616d706f736d2f61746c61732d6a656e6b696e732d636f6e6e6563746f72) ](https://packagist.org/packages/acamposm/atlas-jenkins-connector)

---

Atlas Jenkins Connector
=======================

[](#atlas-jenkins-connector)

A robust, modern PHP API client for Jenkins, built for the Atlas ecosystem.

Features
--------

[](#features)

- **Strictly Typed:** Leverages PHP 8.5 features for maximum reliability.
- **Resource-Based Architecture:** Scalable and easy to navigate.
- **Mock-Ready:** Designed for 100% test coverage using Guzzle MockHandler.
- **Subfolder Support:** Automatic path resolution for jobs in folders.
- **Comprehensive API:** Support for Jobs and Builds.

Installation
------------

[](#installation)

```
composer require acamposm/atlas-jenkins-connector
```

Usage
-----

[](#usage)

### Basic Initialization

[](#basic-initialization)

```
use Atlas\Connectors\Jenkins\JenkinsClient;

$client = new JenkinsClient(
    baseUrl: 'https://jenkins.example.com',
    username: 'admin',
    apiToken: 'your-api-token',
    timeout: 60.0,    // Optional: Default is 30.0
    maxRetries: 5     // Optional: Default is 3
);
```

### Job Management

[](#job-management)

```
// Launch a job
$client->jobs()->build('my-job', ['PARAM' => 'value']);

// Launch a job in a subfolder
$client->jobs()->build('folder/subfolder/my-job');

// Create a job from XML
$xml = file_get_contents('config.xml');
$client->jobs()->create('new-job', $xml, 'my-folder');

// List all jobs in a folder
$jobs = $client->jobs()->list('my-folder');

// Discover ALL jobs recursively (across all subfolders)
$allJobs = $client->jobs()->all();
foreach ($allJobs as $job) {
    echo $job->fullPath . PHP_EOL;
}
```

### Build &amp; Log Management

[](#build--log-management)

```
// Get console logs
$logs = $client->builds()->logs('my-job', 123);

// Update build description
$client->builds()->updateDescription('my-job', 123, 'Build Successful');
```

### System Information

[](#system-information)

```
// Get Jenkins system information
$info = $client->system()->info();

echo $info->nodeDescription; // "the master Jenkins node"
echo $info->mode;           // "NORMAL"
```

Testing
-------

[](#testing)

```
composer test
```

Static Analysis
---------------

[](#static-analysis)

```
composer analyse
```

License
-------

[](#license)

altas-jenkins-connector is open-sourced software licensed under the **[MIT license](https://opensource.org/licenses/MIT)**

###  Health Score

41

—

FairBetter than 87% of packages

Maintenance95

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

31d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/abe2ce7c293312ef08e979cc3254362328d7b5a1a73c24656afd6077f3b0f2ad?d=identicon)[angel.campos.m](/maintainers/angel.campos.m)

---

Top Contributors

[![angelcamposm](https://avatars.githubusercontent.com/u/63554840?v=4)](https://github.com/angelcamposm "angelcamposm (18 commits)")

---

Tags

buildsci-cdjenkinslaravelphp8workflowjobworkflowrun

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/acamposm-atlas-jenkins-connector/health.svg)

```
[![Health](https://phpackages.com/badges/acamposm-atlas-jenkins-connector/health.svg)](https://phpackages.com/packages/acamposm-atlas-jenkins-connector)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k532.1M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.9k496.1k32](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3751.2M45](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k11](/packages/tempest-framework)[mikopbx/core

Free PBX system for SMB based on Asterisk

5451.4k](/packages/mikopbx-core)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

232.5k](/packages/eslazarev-wildberries-sdk)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
