Describe your use-case which is not covered by existing documentation.
I would like to be able to create tags and push them. This is something that used to work when using a normal multibranch pipeline which uses git polling to create a build per branch.
We have switched to this plugin to create a build per PR and it has a lot of nice features.
But now we can not create tags or interact with git anymore.
Error in jenkins:
[Pipeline] sh
+ git tag -a -m 'Created by jenkins-wp-network-info-PR-5-18' 0.0.2
[Pipeline] sh
+ git push origin --tags
fatal: could not read Username for 'https://github.internal.exmple.company/': No such device or address
This is the same with any other git commands like fetch, pull. AFAIK jenkins is still using an SSH key to checkout the repo, but I could be wrong. Maybe its using the token and user to perform the checkout?
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
This plugin is intended for interacting with the github api and more specifically PullRequest and build event triggers and not to support general git operations.
Describe your use-case which is not covered by existing documentation.
I would like to be able to create tags and push them. This is something that used to work when using a normal multibranch pipeline which uses git polling to create a build per branch.
We have switched to this plugin to create a build per PR and it has a lot of nice features.
But now we can not create tags or interact with git anymore.
Error in jenkins:
This is the same with any other git commands like fetch, pull. AFAIK jenkins is still using an SSH key to checkout the repo, but I could be wrong. Maybe its using the token and user to perform the checkout?
Reference any relevant documentation, other materials or issues/pull requests that can be used for inspiration.
No response