Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: BUILDKITE_PLUGIN_GIT_TAG_REPONAME: unbound variable #1

Open
jtomaszewski opened this issue Mar 1, 2021 · 1 comment
Open

Comments

@jtomaszewski
Copy link

We get following error in our pipeline:

/var/lib/buildkite-agent/plugins/github-com-tendnz-git-tag-buildkite-plugin-v1-0-7/hooks/post-command: line 43: BUILDKITE_PLUGIN_GIT_TAG_REPONAME: unbound variable

image

It seems like that the BUILDKITE_PLUGIN_GIT_TAG_REPONAME in

echo "Create release $BUILDKITE_PLUGIN_GIT_TAG_VERSION for repo: $BUILDKITE_PLUGIN_GIT_TAG_REPONAME"
comes from nowhere.

Did we miss some configuration step, or does the plugin has an error?

@jtomaszewski
Copy link
Author

jtomaszewski commented Apr 13, 2021

This should fix it: ailohq@222ff11 .

BUILDKITE_PLUGIN_GIT_TAG_REPONAME can be inferred from BUILDKITE_REPO which already contains the URL to the github repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant