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
scm:git:http://bitbucket.org/tetsuwantech/atom-project.git
But on the release:prepare stage I'm getting
<span>[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</span><span>[ERROR] Provider message:</span><span>[ERROR] The git-push command failed.</span><span>[ERROR] Command output:</span><span>[ERROR] fatal: could not read Username for '<a href="https://bitbucket.org/" target="_blank" rel="noopener noreferrer">https://bitbucket.org</a>': No such device or address</span><span>[ERROR] -> [Help 1]</span>
My repo is public so you can see the errors in the output here
https://bitbucket.org/tetsuwantech/atom-project/addon/pipelines/home#!/results/360
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
https://bitbucket.org/tetsuwantech/atom-project/src/master/
Any ideas?