由用户匿名启动在工作区中构建C:\ Program Files(x86)\ Jenkins \ jobs \ TFS- CheckOut \ workspace删除工作区,因为在此计算机上执行构建后配置已更改 . [workspace] $“C:\ Program Files(x86)\ Jenkins \ jobs \ TFS- CheckOut \ workspace \ tf.exe”workspaces -format:brief -server:http://10.5.5.206:8080 / tfs *** *****收藏:http:/ 10.5.5.206:8080 / tfs工作区所有者计算机评论Hudson-TFS-CheckOut-MASTER管理员WIN-DEVOPS
[workspace] $“C:\ Program Files(x86)\ Jenkins \ jobs \ TFS- CheckOut \ workspace \ tf.exe”workspace -delete
Hudson-TFS-CheckOut-MASTER; WIN-FIGHT \ Administrator -noprompt -server:http://10.5.5.206:8080 / tfs ******** [workspace] $“C:\ Program Files(x86) \ Jenkins \ jobs \ TFS- CheckOut \ workspace \ tf.exe“workspace -new Hudson-TFS-CheckOut-MASTER; WIN-FIGHT \ Administrator -noprompt -server:http://10.5.5.206:8080 / tfs *** ***** [工作区] $“C:\ Program Files(x86)\ Jenkins \ jobs \ TFS-CheckOut \ workspace \ tf.exe”workfold -map“$ / SampleApp / New Folder / AspDotNet”“C:\程序文件(x86)\ Jenkins \ jobs \ TFS-CheckOut \ workspace“-workspace:Hudson-TFS-CheckOut-MASTER -server:http://10.5.5.206:8080 / tfs ******** [工作空间] $“C:\ Program Files(x86)\ Jenkins \ jobs \ TFS-CheckOut \ workspace \ tf.exe”get . -recursive -version:D2015-04-16T15:25:23Z -noprompt ********所有文件都是最新的 . [workspace] $“C:\ Program Files(x86)\ Jenkins \ jobs \ TFS-CheckOut \ workspace \ tf.exe”history“$ / SampleApp / New Folder / AspDotNet”-recursive -stopafter:1 -noprompt -version: D2015-04-16T15:25:24Z -format:brief ******** -server:http://10.5.5.206:8080 / tfs未找到指定项目和版本组合的历史记录条目 . FATAL:对于输入字符串:“”java.lang.NumberFormatException:对于输入字符串:“”at java.lang.NumberFormatException.forInputString(Unknown Source)at java.lang.Integer.parseInt(Unknown Source)at hudson.plugins.tfs .model.Project.getRemoteChangesetVersion(Project.java:209)位于hudson.plugins.tfs.TeamFoundationServerScm.checkout(TeamFoundationServerScm.java:189)的hudson.plugins.tfs.model.Project.getRemoteChangesetVersion(Project.java:223) hudson.model.AbstractProject.checkout(AbstractProject.java:1270)位于hudson.model的jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)的hudson.model.AbstractBuild $ AbstractBuildExecution.defaultCheckout(AbstractBuild.java:609) .AbstractBuild $ AbstractBuildExecution.run(AbstractBuild.java:531)位于hudson.model.Run.exe控件的hudson.model.Run.exe,(Run.java:1741)hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) . 在hudson.model.Executor.run执行(ResourceController.java:98)(Executor.java:374)完成:失败