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 running git pull --ff-only --no-edit origin
on Jenkins Server
#74
Comments
Hi! Thanks for the question. I haven't used JenkinsCI with lerna-semantic-release but it should certainly be possible to configure. It looks like an authentication issue – lerna-semantic-release needs to push back to the repo from which the build was run, which is unique to most tools like this it seems (bitbucket pipelines and travis ci, at least). https://github.com/atlassian/lerna-semantic-release/blob/caribou/.travis/before_install.sh#L20 has some steps that may assist in your jenkins setup – git will need to be setup to have authentication to push back to the original repo. We use If you have any other issues with JenkinsCI it'd be interesting to hear back so that people can be aware of any potential difficulties. Thanks! |
It will not run on Jenkins because for some reason this package requires you to be on master. We got past the pull step with the |
Hi all!!! I came across an issue where when running:
lerna-semantic-release pre && lerna-semantic-release post && lerna-semantic-release perform
on my JenkinsCI server, I would receive the following error:I believe I have correctly configured Jenkins access keys as it is connecting via SSH to a bitbucket server repository for these builds to trigger. I'm sure I could be doing something incorrectly or need to modify a Jenkins configuration but not sure where to start.
The text was updated successfully, but these errors were encountered: