0
我最近创建了一个自动化流程来为我的组织运行多步骤Maven构建。但我有困难提交svn上的版本更改Jenkins svn分支
我想更新此文件内容并编译我的代码,然后将此文件提交回svn。所以SVN有最新的版本号。
如何将更改后的文件提交给SVN。
非常感谢。
我最近创建了一个自动化流程来为我的组织运行多步骤Maven构建。但我有困难提交svn上的版本更改Jenkins svn分支
我想更新此文件内容并编译我的代码,然后将此文件提交回svn。所以SVN有最新的版本号。
如何将更改后的文件提交给SVN。
非常感谢。
我调用顶级Maven的目标在SVN发布: 我的目标是:释放:执行-DconnectionUrl = SCM:SVN:http://XXX
这是詹金斯我Maven的错误:
[maven] $ cmd.exe /C "D:\apache-maven-3.5.0\bin\mvn.cmd release:perform -DconnectionUrl=scm:svn:http://10.10.20.151/svn/repos/aubay/test/jenkins/branches && exit %%ERRORLEVEL%%"
channel stopped
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building jenkins 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-release-plugin:2.3.2:perform (default-cli) @ jenkins ---
[ERROR] Cannot perform release - the preparation step was stopped mid-way. Please re-run release:prepare to continue, or perform the release from an SCM tag.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.199 s
[INFO] Finished at: 2017-08-24T15:48:29+02:00
[INFO] Final Memory: 12M/150M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.3.2:perform (default-cli) on project jenkins: Cannot perform release - the preparation step was stopped mid-way. Please re-run release:prepare to continue, or perform the release from an SCM tag. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Build step 'Invoke top-level Maven targets' marked build as failure
Finished: FAILURE
你有什么困难? – bahrep
我不知道如何使用jenkins制作我的项目的新版本并上传到svn –
简而言之,我想修改我的工作区路径或将项目从jenkins工作区复制到svn repo ... –