{"id":19170707,"url":"https://github.com/algorys/jenkins-trigger","last_synced_at":"2026-06-15T02:34:36.750Z","repository":{"id":87280635,"uuid":"93492812","full_name":"algorys/jenkins-trigger","owner":"algorys","description":"Launch a Jenkins job with its parameters","archived":false,"fork":false,"pushed_at":"2017-06-30T12:36:59.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2025-02-23T00:21:12.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/algorys.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-06T08:08:53.000Z","updated_at":"2017-06-08T15:02:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"eed2f1b8-7a7a-4417-b7cd-5ba1516ef00d","html_url":"https://github.com/algorys/jenkins-trigger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/algorys/jenkins-trigger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorys%2Fjenkins-trigger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorys%2Fjenkins-trigger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorys%2Fjenkins-trigger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorys%2Fjenkins-trigger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/algorys","download_url":"https://codeload.github.com/algorys/jenkins-trigger/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/algorys%2Fjenkins-trigger/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34345577,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-15T02:00:07.085Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-09T09:54:53.834Z","updated_at":"2026-06-15T02:34:36.737Z","avatar_url":"https://github.com/algorys.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jenkins-Trigger\n\n[![Project Status: WIP – Initial development is in progress, but there has not yet been a stable, usable release suitable for the public.](http://www.repostatus.org/badges/latest/wip.svg)](http://www.repostatus.org/#wip)\n\nJenkins-Trigger allow you to build a Jenkins job with its parameters, from any platform. This tool provides similar features to [Jenkins-CLI](https://jenkins.io/doc/book/managing/cli/) but it is in Python.\n\n## Features\n\n- display progression of Job directly in your console\n- display if your Job SUCCESS, ABORTED or FAILED\n- display link to tests results if job has Unit Tests\n- and more...\n\n## Requirements\n\nYou should have Python installed on your device. This script is normally compatible with Python 2.7 and Python 3+.\n\n## Installation\n\nSimply download this repository and type the following commands:\n\n```bash\n# clone repository and go inside.\ncd jenkins-trigger/\n\n# Install Jenkins-Trigger\nsudo pip install .\n```\n\nThat's all !\n\n## Usage\n\nScript have a `help` command to display usage:\n\n```bash\nuser@jenkins:~$ jenkins-trigger -h\nusage: jenkins-trigger [-h] [-u U] [-p P] [-j J] [--data DATA]\n\nLaunch a Jenkins job with its parameters\n\noptional arguments:\n  -h, --help   show this help message and exit\n  --data DATA  Job parameters separated by colons (Parameters should follow\n               order of the Job)\n\nRequired arguments:\n  -u U         Jenkins user who can trigger the job\n  -p P         User's jenkins password or token\n  -j J         Jenkins job to launch, without its namespace\n```\n\n## Work with a config file\n\n**Coming soon**\n\n## Example\n\nLet's say we have the following data:\n\n- Jenkins user: `admin`\n- User token: `y1y1y1y1y1y1`\n- One job called : `job1` with the parameters `gitlabSourceBranch` and `dependencies`.\n\nObviously, the user **must have the rights to run the job** ! Then, simply run the following command:\n\n```bash\njenkins-trigger -u admin -p y1y1y1y1y1y1 -j job1 --data dev:ON\n```\n\nJenkins-Trigger will:\n\n* run the job **job1**\n* with parameters `gitlabSourceBranch:dev, dependencies:ON`.\n\n**Output example for a matrix job:**\n\n```bash\nuser@jenkins:~$ jenkins-trigger -u admin -p password -j My_Job --data dev\n..Job [My_Job] is running...\n...with params: {'gitlabSourceBranch': 'dev'}\n..My_Job has finished\nBuild #411 : SUCCESS\n    Commit: 891c682\n    See on http://my-jenkins.com/job/MyGroup/job/My_Job\nDetails of the matrix:\nMyGroup » My_Job » Debug,clang #411: SUCCESS\nMyGroup » My_Job » Debug,gcc #411: SUCCESS\nMyGroup » My_Job » Debug,vc2015 #411: SUCCESS\nMyGroup » My_Job » Release,clang #411: SUCCESS\nMyGroup » My_Job » Release,gcc #411: SUCCESS\nMyGroup » My_Job » Release,vc2015 #411: SUCCESS\nUnit Tests:\n    All Tests Results PASSED: http://my-jenkins.com/job/MyGroup/job/My_Job/BUILD_TYPE=Release,compiler=vc2015/411/\n    All Tests Results PASSED: http://my-jenkins.com/job/MyGroup/job/My_Job/BUILD_TYPE=Debug,compiler=gcc/411/\n    All Tests Results PASSED: http://my-jenkins.com/job/MyGroup/job/My_Job/BUILD_TYPE=Debug,compiler=vc2015/411/\n    All Tests Results PASSED: http://my-jenkins.com/job/MyGroup/job/My_Job/BUILD_TYPE=Release,compiler=clang/411/\n    All Tests Results PASSED: http://my-jenkins.com/job/MyGroup/job/My_Job/BUILD_TYPE=Release,compiler=gcc/411/\n    All Tests Results PASSED: http://my-jenkins.com/job/MyGroup/job/My_Job/BUILD_TYPE=Debug,compiler=clang/411/\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgorys%2Fjenkins-trigger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falgorys%2Fjenkins-trigger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falgorys%2Fjenkins-trigger/lists"}