{"id":34991280,"url":"https://github.com/buildkite-plugins/test-job-api-buildkite-plugin","last_synced_at":"2026-05-19T13:35:47.188Z","repository":{"id":212678824,"uuid":"616774942","full_name":"buildkite-plugins/test-job-api-buildkite-plugin","owner":"buildkite-plugins","description":"An example plugin, showing how to use the agent's job api","archived":false,"fork":false,"pushed_at":"2026-05-04T09:56:06.000Z","size":9815,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2026-05-04T11:37:27.766Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Go","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/buildkite-plugins.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-21T03:43:17.000Z","updated_at":"2026-04-22T09:38:33.000Z","dependencies_parsed_at":"2025-12-12T13:03:27.061Z","dependency_job_id":"1ecc229d-064a-4676-ac24-967f35be535a","html_url":"https://github.com/buildkite-plugins/test-job-api-buildkite-plugin","commit_stats":null,"previous_names":["buildkite-plugins/test-job-api-buildkite-plugin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/buildkite-plugins/test-job-api-buildkite-plugin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Ftest-job-api-buildkite-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Ftest-job-api-buildkite-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Ftest-job-api-buildkite-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Ftest-job-api-buildkite-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/buildkite-plugins","download_url":"https://codeload.github.com/buildkite-plugins/test-job-api-buildkite-plugin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/buildkite-plugins%2Ftest-job-api-buildkite-plugin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33218887,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2025-12-27T01:54:51.502Z","updated_at":"2026-05-19T13:35:47.183Z","avatar_url":"https://github.com/buildkite-plugins.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Job API Test Plugin\n\nDemonstrates how to use the buildkite current job API to interact with the current job in languages other than bash.\n\n## Usage\n\nEnsure that you've built the golang portion of the plugin, and placed it in the `go/bin` directory:\n\n```shell\nmkdir -p $(go env GOPATH)/bin\ngo build -o $(go env GOPATH)/bin/job-api-test\n```\n\nThis plugin is a no-op, but it demonstrates how to use the job API to add and remove environment variables from the current job. The plugin requires the built binary to be accessible to the agent, so this plugin isn't suitable for use in production environments.\n\n## Example\n\nAdd the following to your `pipeline.yml`:\n\n```yml\nsteps:\n  - command: ls # or anything, really\n    plugins:\n      - test-job-api#main:\n```\n\nIt will add two environment variables to the job during the `environment` phase, `OCEAN` and `MOUNTAIN`. It will then remove the `OCEAN `environment variable during the `post-command` phase.\n\n## Configuration\nn/a\n\n## Contributing\n\n1. Fork the repo\n2. Make the changes\n3. Run the tests\n4. Commit and push your changes\n5. Send a pull request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite-plugins%2Ftest-job-api-buildkite-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbuildkite-plugins%2Ftest-job-api-buildkite-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbuildkite-plugins%2Ftest-job-api-buildkite-plugin/lists"}