CI/CD Runner Pack
★Trustedv1.0.0MIT✔Verified88by AgentNode · published 22 days ago · toolpack
Trigger and monitor CI/CD pipelines across platforms.
Unified interface for GitHub Actions, GitLab CI, and Jenkins. Trigger builds, check status, view logs, and retry failed jobs.
Quick Start
agentnode install ci-cd-runner-packUsage
From packagefrom ci_cd_runner_pack.tool import run
result = run(
capability="cicd_run",
params={
"platform": "github",
"action": "trigger_workflow",
"repo": "acme-corp/backend-api",
"workflow": "deploy-staging.yml",
"ref": "main",
"inputs": {"environment": "staging", "version": "2.4.1"},
"wait": True,
"timeout_seconds": 300
}
)
print(f"Run ID: {result['run_id']}")
print(f"Status: {result['conclusion']}")
print(f"Duration: {result['duration_seconds']}s")
print(f"URL: {result['html_url']}")Environment Variables
GITHUB_TOKENGitHub personal access token with actions scope. Required when using the github platform.
GITLAB_TOKENGitLab personal access token with api scope. Required when using the gitlab platform.
JENKINS_URLJenkins server base URL. Required when using the jenkins platform.
JENKINS_TOKENJenkins API token for authentication. Required when using the jenkins platform.
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Last verified 18d ago· Runner v2.0.0
Use this when you need to...
- ›Trigger GitHub Actions workflows from agent code
- ›Monitor GitLab CI pipeline status and logs
- ›Restart failed Jenkins build jobs
- ›Check deployment status across CI/CD platforms
- ›Retrieve build artifacts from completed pipelines
README
CI/CD Runner Pack
Trigger and monitor CI/CD pipelines across GitHub Actions, GitLab CI, and Jenkins. Start builds, check statuses, fetch logs, and download artifacts from a unified interface.
Quick Start
agentnode install ci-cd-runner-pack
from ci_cd_runner_pack.tool import run
result = run(
capability="cicd_run",
params={
"platform": "github",
"action": "trigger_workflow",
"repo": "my-org/my-repo",
"workflow": "ci.yml",
"ref": "main"
}
)
print(f"Triggered: {result['html_url']}")
Usage
Trigger and wait for a GitHub Actions workflow
result = run(
capability="cicd_run",
params={
"platform": "github",
"action": "trigger_workflow",
"repo": "acme-corp/frontend",
"workflow": "deploy.yml",
"ref": "release/v3.1",
"wait": True,
"timeout_seconds": 600
}
)
print(f"{result['conclusion']} in {result['duration_seconds']}s")
Get GitLab pipeline status
result = run(
capability="cicd_run",
params={
"platform": "gitlab",
"action": "get_pipeline_status",
"project_id": "12345678",
"pipeline_id": "987654"
}
)
for job in result["jobs"]:
print(f"{job['name']}: {job['status']}")
Retry a failed Jenkins build
result = run(
capability="cicd_run",
params={
"platform": "jenkins",
"action": "retry_build",
"job_name": "backend-tests",
"build_number": 142
}
)
API Reference
| Capability | Description |
|---|---|
cicd_run | Trigger, monitor, and manage CI/CD pipelines |
Platforms: github, gitlab, jenkins.
Actions: trigger_workflow, get_pipeline_status, get_build_logs, retry_build, download_artifacts, cancel_run.
Requirements
| Variable | Required | Description |
|---|---|---|
GITHUB_TOKEN | For GitHub | GitHub personal access token with actions scope |
GITLAB_TOKEN | For GitLab | GitLab personal access token with api scope |
JENKINS_URL | For Jenkins | Jenkins server URL |
JENKINS_TOKEN | For Jenkins | Jenkins API token |
License
MIT
Version History
Capabilities
Permissions
This package declares the following access levels. Review before installing.
agentnode install ci-cd-runner-packEnvironment Variables
GITHUB_TOKENGITLAB_TOKENJENKINS_URLJENKINS_TOKENFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode