I'm trying to use this in my pipelines as a step
- mvn --batch-mode -DdryRun=true -DscmDevelopmentCommitComment="[maven-release-plugin] prepare next development version [skip ci]" -DpreparationGoals=clean release:clean release:prepare
- mvn --batch-mode -DscmDevelopmentCommitComment="[maven-release-plugin] prepare next development version [skip ci]" -DpreparationGoals=clean release:clean release:prepare
I have in my pom.xml for my developerConnection
But on the release:prepare stage I'm getting
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:3.0.0-M1:prepare (default-cli) on project atom: Unable to commit files
[ERROR] Provider message:
[ERROR] The git-push command failed.
[ERROR] Command output:
[ERROR] fatal: could not read Username for 'https://bitbucket.org': No such device or address
[ERROR] -> [Help 1]
My repo is public so you can see the errors in the output here
Based on the documentation in https://support.atlassian.com/bitbucket-cloud/docs/push-back-to-your-repository/ I shouldn't need anything specific configured.
You can see the repo and the bitbucket_pipelines.yml file here
@Jim Richards yes, you should pay attention to push to master permissions and USer and Group Access permission in admin repository settings.
And adapt this to your scm block. In logs I see it is trying to push via http, not via git, ssh protocol. Check these permissions for pushing to master or general permission and configure ssh to use
Hello friends! From the community that brought you Welcome Wednesday, Throwback Thursday and Friday Fun, welcome to Taco Tuesday, a weekly discussion about all things Trello. The best part? One Tac...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events