{"id":16953331,"url":"https://github.com/mieky/jestas","last_synced_at":"2026-01-27T10:30:17.660Z","repository":{"id":36502303,"uuid":"40807974","full_name":"mieky/jestas","owner":"mieky","description":"Show Jenkins build statuses from the command line","archived":true,"fork":false,"pushed_at":"2024-10-01T07:52:46.000Z","size":1608,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-11T12:18:52.705Z","etag":null,"topics":["cli","jenkins","jenkins-server","monitor","status"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mieky.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-08-16T09:35:36.000Z","updated_at":"2024-10-01T07:53:14.000Z","dependencies_parsed_at":"2022-09-19T15:50:18.984Z","dependency_job_id":null,"html_url":"https://github.com/mieky/jestas","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mieky%2Fjestas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mieky%2Fjestas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mieky%2Fjestas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mieky%2Fjestas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mieky","download_url":"https://codeload.github.com/mieky/jestas/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239774173,"owners_count":19694697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["cli","jenkins","jenkins-server","monitor","status"],"created_at":"2024-10-13T22:06:54.873Z","updated_at":"2026-01-27T10:30:17.630Z","avatar_url":"https://github.com/mieky.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"**This repository is no longer maintained. Using it is discouraged for purposes other than learning and inspiration ✌🏻**\n\n# jestas\n\n[![npm version](https://badge.fury.io/js/jestas.svg)](http://badge.fury.io/js/jestas) [![Build Status](https://travis-ci.org/mieky/jestas.svg?branch=master)](https://travis-ci.org/mieky/jestas)\n\nShow Jenkins build statuses from the command line.\n\n- Requires **Node 4.0** or newer, with npm 3.\n- Supports Jenkins 1.4 \u0026 2.0.\n\nInstallation:\n`npm install -g jestas`\n\n![jestas usage example](https://github.com/mieky/jestas/raw/master/screenshot.gif)\n\n\n## Usage\n\nRun `jestas`, either with a configuration file (see [Configuration](#configuration)) or by passing the options manually.\n\nSee `jestas --help` for options.\n\n**Examples:**\n\n- Run with a jestas.json present in one of the parent directories:\n\n    `jestas`\n\n- Specify a configuration file:\n\n    `jestas --config myConfig.json`\n\n- Pass Jenkins server URL manually (if everyone has read access):\n\n    `jestas --server https://jenkins.qa.ubuntu.com`\n\n- Pass server URL, username and API token (for authenticated use):\n\n    `jestas --server http://my.jenkins.url --user clarence-oveur --token foo123xyz`\n\n- Allow Jenkins server with a self-signed certificate:\n\n    `jestas --server https://my.jenkins.url --trust`\n\n\n### Output\n\nBy default, the status of all build jobs is listed.\n\nGiving a *job name* as a parameter will display the latest (possibly partial) build log:\n\n```\n$ jestas nodejs-v0.10-windows\nbusy  nodejs-v0.10-windows\n\nStarted by timer\n[EnvInject] - Loading node environment variables.\nBuilding remotely on centos-5.7 (linux) in workspace /var/lib/jenkins/workspace/nodejs-v0.10-windows\n \u003e git rev-parse --is-inside-work-tree # timeout=10\nFetching changes from the remote Git repository\n \u003e git config remote.origin.url https://github.com/joyent/node.git # timeout=10\nFetching upstream changes from https://github.com/joyent/node.git\n \u003e git --version # timeout=10\n \u003e git fetch --tags --progress https://github.com/joyent/node.git +refs/heads/*:refs/remotes/origin/*\n \u003e git rev-parse refs/remotes/origin/v0.10^{commit} # timeout=10\n \u003e git rev-parse refs/remotes/origin/origin/v0.10^{commit} # timeout=10\nChecking out Revision a7fee30da123953e68bafc835fe6ce1818a5dc44 (refs/remotes/origin/v0.10)\n \u003e git config core.sparsecheckout # timeout=10\n \u003e git checkout -f a7fee30da123953e68bafc835fe6ce1818a5dc44\n \u003e git rev-list a7fee30da123953e68bafc835fe6ce1818a5dc44 # timeout=10\nCleaning workspace\n \u003e git rev-parse --verify HEAD # timeout=10\nResetting working tree\n \u003e git reset --hard # timeout=10\n \u003e git clean -fdx # timeout=10\nTriggering nodejs-v0.10-windows » x64,windows\nTriggering nodejs-v0.10-windows » ia32,windows\nConfiguration nodejs-v0.10-windows » x64,windows is still in the queue: All nodes of label ‘windows’ are offline\n```\n\n**Fuzzy filtering**\n\nYou can provide fuzzy search terms to filter the results, for example `jestas node win` would list builds whose name include the words \"node\" and \"win\", in that order. It might match *nodejs-v0.10-windows* and *nodejs-v0.12-windows*, but not *nodejs-v0.10-osx*.\n\n\n## Configuration\n\nA configuration file `jestas.json` will be picked up at any of the parents of the current directory (or itself). There is a sample [jestas.json.example](https://github.com/mieky/jestas/blob/master/jestas.json.example) provided for convenience.\n\n**Tip:** You can set any of the parameters as command-line arguments, including the config file location.\n\nA simple, **unauthenticated** (where everyone has read access on the Jenkins host) configuration looks like this:\n\n```\n{\n    \"server\": \"https://jenkins.qa.ubuntu.com\"\n}\n```\n\nWhere `server` specifies the root URL of the Jenkins installation you want to query.\n\nFor **authenticated** requests, you must supply the `user` and `token` parameters:\n\n- `user` is your Jenkins username,\n- `token` is your personal API token. Get it by visiting `http://\u003cserver_url\u003e/me/configure` on your Jenkins host\n\n```\n{\n    \"server\": \"http://my-private-jenkins-instance.org\",\n    \"user\": \"clarence-oveur\",\n    \"token\": \"c83d6c69f05ffab983ab0dc2d26656ed\"\n}\n```\n\n### Self-signed certificates\n\nJenkins installations running over HTTPS with self-signed certificates are distrusted by default. To allow communicating with these hosts, you can add the `trust` option.\n\n```\n{\n    \"trust\": true\n}\n```\n\n## Changelog\n\n- **1.3.0** Add `trust` option for allowing self-signed certificates\n- **1.2.0** Add support for Node 4 (still requires npm3, though)\n- **1.1.0** Add support for command-line arguments.\n- **1.0.0** Add support for authenticated requests, require Node 6.0.\n  - **Breaking changes:** updated configuration syntax to have *server*, *user* and *token*\n- **0.2.0** Fetch most recent build log when search yields exactly one match.\n- **0.1.1** Fix installation to work without a global Babel (duh!)\n- **0.1.0** Support for the rest of Jenkins build statuses.\n- **0.0.1** First release with only pass/fail statuses.\n\n## Acknowledgements\n\n[![chilicorn](chilicorn.png)](http://futurice.com/blog/sponsoring-free-time-open-source-activities)\n\n## License\n\n[MIT](https://github.com/mieky/jestas/blob/master/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmieky%2Fjestas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmieky%2Fjestas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmieky%2Fjestas/lists"}