-
Notifications
You must be signed in to change notification settings - Fork 29
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
add BRANCH_NAME even if git is missing #74
Comments
This is the default behavior. See the code here However in your specific case, since you are running the build inside the docker container, can you make sure that these environment variables are also available inside your docker container? |
Hi Nelson, |
Ah, thanks for finding that. We'll look in to this. |
We are using the k8s plugin in Jenkins which runs gradle in a docker container that doesn't have git installed. This means that the BRANCH name is no longer added as a tag. It would be good if this was fixed so that even if git is not installed the BRANCH_NAME env variable is still added as a tag.
The text was updated successfully, but these errors were encountered: