{"id":16376158,"url":"https://github.com/felixfbecker/psbuildkite","last_synced_at":"2025-09-08T18:33:28.268Z","repository":{"id":66011599,"uuid":"147845726","full_name":"felixfbecker/PSBuildkite","owner":"felixfbecker","description":"Module to interact with the Buildkite API from PowerShell","archived":false,"fork":false,"pushed_at":"2021-04-29T18:20:43.000Z","size":12,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-01T07:44:01.317Z","etag":null,"topics":["api-client","buildkite","powershell"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"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/felixfbecker.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-09-07T16:01:14.000Z","updated_at":"2021-04-29T18:20:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"783b4108-08f4-46ae-94df-57e890084461","html_url":"https://github.com/felixfbecker/PSBuildkite","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixfbecker%2FPSBuildkite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixfbecker%2FPSBuildkite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixfbecker%2FPSBuildkite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/felixfbecker%2FPSBuildkite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/felixfbecker","download_url":"https://codeload.github.com/felixfbecker/PSBuildkite/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239970660,"owners_count":19727010,"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":["api-client","buildkite","powershell"],"created_at":"2024-10-11T03:23:44.053Z","updated_at":"2025-02-21T06:43:45.224Z","avatar_url":"https://github.com/felixfbecker.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Buildkite for PowerShell \u003cimg src=\"./buildkite-logo.svg\" height=\"90\" align=\"left\"\u003e\n\n[![powershellgallery](https://img.shields.io/powershellgallery/v/PSBuildkite.svg)](https://www.powershellgallery.com/packages/PSBuildkite)\n[![downloads](https://img.shields.io/powershellgallery/dt/PSBuildkite.svg)](https://www.powershellgallery.com/packages/PSBuildkite)\n\nModule to interact with the [Buildkite API](https://buildkite.com/docs/apis/rest-api) from PowerShell.\n\n## Example\n\n```powershell\n# Show logs of all jobs of the latest build\n(Get-BuildkiteBuild -PerPage 1).jobs | Get-BuildkiteJobLog\n```\n\n## Installation\n\n```powershell\nInstall-Module PSBuildkite\n```\n\n## Included\n\n- `Get-BuildkiteOrganization`\n- `Get-BuildkitePipeline`\n- `Get-BuildkiteBuild`\n- `Get-BuildkiteJobLog`\n- `Get-BuildkiteCruiseControlFeedUrl`\n\nMissing something? PRs welcome!\n\n## Pagination\n\nPagination will always happen automatically, i.e. `Get-` cmdlet will follow `next` relation links and stream objects till the end of the list is reached.\nIn the case of builds, this can be virtually forever - you can stop after n objects were found by using `Select-Object -First $n`, or manually with \u003ckbd\u003eCTRL\u003c/kbd\u003e+\u003ckbd\u003eC\u003c/kbd\u003e.\nPagination can also be controlled manually with the `-Page` and `-PerPage` parameters.\n`-Page` can be used to skip entries, while `-PerPage` can be used to fine-tune performance.\n\n## Authentication\n\nTo access private repositories, make changes and have a higher rate limit, [create a Buildkite API token](https://buildkite.com/user/api-access-tokens).\nThis token can be provided to all PSGitHub functions as a `SecureString` through the `-Token` parameter.\nYou can set a default token to be used by changing `$PSDefaultParameterValues` in your `profile.ps1`:\n\n### On Windows\n\n```powershell\n$PSDefaultParameterValues['*Buildkite*:Token'] = 'YOUR_ENCRYPTED_TOKEN' | ConvertTo-SecureString\n```\n\nTo get the value for `YOUR_ENCRYPTED_TOKEN`, run `Read-Host -AsSecureString | ConvertFrom-SecureString` once and paste in your token.\n\n### On macOS/Linux\n\nmacOS and Linux do not have access to the Windows Data Protection API, so they cannot use `ConvertFrom-SecureString`\nto generate an encrypted plaintext version of the token without a custom encryption key.\n\nIf you are not concerned about storing the token in plain text in the `profile.ps1`, you can set it like this:\n\n```powershell\n$PSDefaultParameterValues['*Buildkite*:Token'] = 'YOUR_PLAINTEXT_TOKEN' | ConvertTo-SecureString -AsPlainText -Force\n```\n\nAlternatively, you could store the token in a password manager or the Keychain, then retrieve it in your profile and set it the same way.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixfbecker%2Fpsbuildkite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffelixfbecker%2Fpsbuildkite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffelixfbecker%2Fpsbuildkite/lists"}