improbable-eng / metahook-buildkite-plugin Goto Github PK
View Code? Open in Web Editor NEWRun commands as buildkite hooks on a per-step basis
License: MIT License
Run commands as buildkite hooks on a per-step basis
License: MIT License
Running plugin metahook pre-command hook
# A hook runner was written to "C:\users\buildkite-agent\tmp\d6018259-8f4c-4680-a375-53215e54e7cd\buildkite-agent-bootstrap-hook-runner-106667881" with the following:
> C:\users\buildkite-agent\tmp\d6018259-8f4c-4680-a375-53215e54e7cd\buildkite-agent-bootstrap-hook-runner-106667881
# Attempting to run C:\users\buildkite-agent\tmp\d6018259-8f4c-4680-a375-53215e54e7cd\buildkite-agent-bootstrap-hook-runner-106667881 with Bash for Windows
c:/users/buildkite-agent/AppData/Local/buildkite-agent/plugins/github-com-improbable-eng-metahook-buildkite-plugin-v0-4-1/hooks/run-hook.sh: line 17: !var_name: unbound variable
It appears as though if you do not define a pre-command hook, it tries to execute it anyways and fails.
example of my plugin declaration:
annotate-errors-plugin: &annotate-errors-plugin
# https://github.com/improbable-eng/metahook-buildkite-plugin
improbable-eng/metahook#v0.4.1:
pre-exit: python "GameOne/.buildkite/metahooks/annotate_errors.py"
example of error no longer occurring if plugin is defined as:
annotate-errors-plugin: &annotate-errors-plugin
# https://github.com/improbable-eng/metahook-buildkite-plugin
improbable-eng/metahook#v0.4.1:
pre-command: echo "test"
pre-exit: python "GameOne/.buildkite/metahooks/annotate_errors.py"
https://buildkite.com/improbable/midwinter-code/builds/680#b4e799c4-2a07-4f59-aa87-f8e834ef74ff
i.e. the first line should be the equivalent of set pipefail
for both bash and batch ones
We have lost the ability to override pre-checkout
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.