使用stash / bitbucket repo从Jenkins运行maven构建时,我收到错误。这是stash / bitbucket和jenkins工作中这个项目的第一次设置
21:00:30 [INFO] Executing: /bin/sh -c cd /home/jenkins/workspace/project/folder && git push https://stash.xxx.com/scm/repo/folder refs/heads/develop:refs/heads/develop
21:00:30 [INFO] Working directory: /home/jenkins/workspace/project/folder
21:00:30 [INFO] -------------------------------------------------------------
21:00:30 [INFO] BUILD FAILURE
21:00:30 [INFO] -------------------------------------------------------------
21:00:30 [INFO] Total time: 41.539 s
21:00:30 [INFO] Finished at: 2017-10-01T16:00:30-04:00
21:00:31 [INFO] Final Memory: 14M/179M
21:00:31 [INFO] -------------------------------------------------------------
21:00:31 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5.3:prepare (default-cli) on project ifaview: Unable to commit files
21:00:31 [ERROR] Provider message:
21:00:31 [ERROR] The git-push command failed.
21:00:31 [ERROR] Command output:
21:00:31 [ERROR] fatal: could not read Username for 'https://stash.xxxx.com': No such device or address
jenkins配置@Source代码管理> Git>存储库>
存储库网址= https://stash.xxx.com/scm/repo/folder.git
凭证:jenkins_user / xxxxx
在jenkins_user的存储仓库设置中
存储库权限:读,写
分支权限:除了jenkins_user之外没有拉取请求的更改
拉请求:合并和挤压
任何人都遇到过这个问题,尝试了许多其他选择......虽然没有运气。