{"id":15435186,"url":"https://github.com/drptbl/nightwatchman","last_synced_at":"2025-03-04T09:23:34.136Z","repository":{"id":88033503,"uuid":"61367073","full_name":"drptbl/Nightwatchman","owner":"drptbl","description":"A Jenkins-to-GoogleSheets report generator with a declarative style","archived":false,"fork":false,"pushed_at":"2016-06-01T03:07:55.000Z","size":16,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-27T05:13:32.333Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":false,"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/drptbl.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":"2016-06-17T10:48:15.000Z","updated_at":"2019-12-18T19:20:54.000Z","dependencies_parsed_at":"2023-07-18T00:30:30.828Z","dependency_job_id":null,"html_url":"https://github.com/drptbl/Nightwatchman","commit_stats":{"total_commits":8,"total_committers":1,"mean_commits":8.0,"dds":0.0,"last_synced_commit":"c5a834ec2f7b885061fd321dc297962209a08d86"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drptbl%2FNightwatchman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drptbl%2FNightwatchman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drptbl%2FNightwatchman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drptbl%2FNightwatchman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drptbl","download_url":"https://codeload.github.com/drptbl/Nightwatchman/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241819717,"owners_count":20025388,"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":[],"created_at":"2024-10-01T18:43:02.111Z","updated_at":"2025-03-04T09:23:34.111Z","avatar_url":"https://github.com/drptbl.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nightwatchman\n\n### About\n\nA Jenkins-to-GoogleSheets report generator with a declarative style.\n\n### Run\n\n`python nightwatchman.py configurations...`  \n\nMust be run from nightwatchman root folder.  \nConfiguration names must match file names in \"configurations\" folder.  \nThe \".json\" extension is optional.\n\n### Install Libraries\n\n`sudo pip install gspread`    \n`sudo pip install jenkinsapi`\n\n### Setup\n\nIn the \"credentials\" folder, create \"jenkins.json\" from the template and populate it with a username and ldap password\n\nObtain the team's \"google.json\" credentials file or generate one yourself.\nTo generate one, follow the gspread instructions for creating a \"service account key\": http://gspread.readthedocs.org/en/latest/oauth2.html  \nDownload that json file and save it as \"google.json\" in the \"credentials\" folder\n\n### Configuration Files\n\nReport configurations are in the JSON format.  \n\nThey support the following entries. They are all Strings except where noted.  \n\nConfig parameters:  \ndrive_file = the Google spreadsheet to write to  \nsheet = the worksheet tab in the spreadsheet  \ncolumns (list) = the cells to write for each row (supports: jobname, buildno, status, duration, timestamp)  \nwriter = the output writer (supports: spreadsheet, console)  \nbase (dict) = every 'job' in the 'jobs' list will inherit these parameters  \njobs (list of dicts) = the jobs to find. assumed to have kicked off other jobs. those jobs are printed as rows. View the job parameters below.  \n\nJob parameters:  \njob = the Jenkins job name  \nversion = the most recent version or branch to find  \nbps (dict) = build parameters to filter by (ex. \"bps\": {\"INSTALL_TYPE\": \"tar\", \"PROVIDER\": \"openstack\"})  \nbuild (int) = will grab this build number and will ignore version and bps  \n\n### Sites\n\ngspread  \nhttps://github.com/burnash/gspread  \nhttp://gspread.readthedocs.org/en/latest/index.html  \n\njenkinsapi  \nhttps://github.com/salimfadhley/jenkinsapi  \nhttps://jenkinsapi.readthedocs.org/en/latest/build.html  \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrptbl%2Fnightwatchman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrptbl%2Fnightwatchman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrptbl%2Fnightwatchman/lists"}