TFS 2015:发布工件 - “任务被取消" [英] TFS 2015: Publish artifact - "A task was canceled"

查看:28
本文介绍了TFS 2015:发布工件 - “任务被取消"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不久后,我收到一个任务被取消"的消息.运行构建任务发布工件"时.tfs 服务器现在运行了一个视图数周,我从来没有遇到过这些任务的问题.

Since shortly, I receive "A task was canceled" when running the build task "Publish artifact". The tfs Server is running for a view weeks now and I never had problems with these tasks.

我通过删除构建输出文件夹解决了这个问题,但不幸的是这个解决方法"不再工作了.我试图更改工件名称,希望这可以改变一些东西......没有任何帮助.

I fixed this issue once with deleting the build output Folder but unfortunately this "workaround" is not working anymore. I tried to change the artifact name in the hope that this could change something... Nothing helped.

日志文件输出:

2016-04-22T13:04:55.6060280Z 将workingFolder 设置为默认值:C:\agent\tasks\PublishBuildArtifacts\1.0.26

2016-04-22T13:04:55.6060280Z Set workingFolder to default: C:\agent\tasks\PublishBuildArtifacts\1.0.26

2016-04-22T13:04:56.0896280Z ##[debug]检查路径:

2016-04-22T13:04:56.0896280Z ##[debug]check path :

C:\agent\tasks\PublishBuildArtifacts\1.0.26\task.json

C:\agent\tasks\PublishBuildArtifacts\1.0.26\task.json

2016-04-22T13:04:56.0896280Z ##[debug]将资源文件设置为:

2016-04-22T13:04:56.0896280Z ##[debug]set resource file to:

C:\agent\tasks\PublishBuildArtifacts\1.0.26\task.json

C:\agent\tasks\PublishBuildArtifacts\1.0.26\task.json

2016-04-22T13:04:56.0896280Z ##[debug]system.culture=en-US

2016-04-22T13:04:56.0896280Z ##[debug]system.culture=en-US

2016-04-22T13:04:56.0896280Z ##[debug]从以下位置加载字符串:

2016-04-22T13:04:56.0896280Z ##[debug]load strings from:

C:\agent\tasks\PublishBuildArtifacts\1.0.26\task.json

C:\agent\tasks\PublishBuildArtifacts\1.0.26\task.json

2016-04-22T13:04:56.0896280Z ##[debug]从以下位置加载loc字符串:

2016-04-22T13:04:56.0896280Z ##[debug]load loc strings from:

C:\agent\tasks\PublishBuildArtifacts\1.0.26\strings\resources.resjson\en-美国\resources.resjson2016-04-22T13:04:56.0896280Z ##[debug]system.hosttype=build

C:\agent\tasks\PublishBuildArtifacts\1.0.26\strings\resources.resjson\en- US\resources.resjson 2016-04-22T13:04:56.0896280Z ##[debug]system.hosttype=build

2016-04-22T13:04:56.0896280Z ##[debug]PathtoPublish=C:\agent_work\3\a

2016-04-22T13:04:56.0896280Z ##[debug]PathtoPublish=C:\agent_work\3\a

2016-04-22T13:04:56.0896280Z ##[debug]检查路径:C:\agent_work\3\a

2016-04-22T13:04:56.0896280Z ##[debug]check path : C:\agent_work\3\a

2016-04-22T13:04:56.1052280Z ##[debug]ArtifactName=MyArtifact

2016-04-22T13:04:56.1052280Z ##[debug]ArtifactName=MyArtifact

2016-04-22T13:04:56.1052280Z ##[debug]ArtifactType=Container

2016-04-22T13:04:56.1052280Z ##[debug]ArtifactType=Container

2016-04-22T13:04:56.1052280Z ##[debug]TargetPath=\my\share\My Artifact\My Artifact_2.3.16113.06 2016-04-22T13:04:56.2456280Z

2016-04-22T13:04:56.1052280Z ##[debug]TargetPath=\my\share\My Artifact\My Artifact_2.3.16113.06 2016-04-22T13:04:56.2456280Z

Max Concurrent Uploads 2, Max Creators 1

Max Concurrent Uploads 2, Max Creators 1

2016-04-22T13:04:56.3392280Z 找到 61 个要上传的文件.

2016-04-22T13:04:56.3392280Z Found 61 files to upload.

2016-04-22T13:04:56.3704280Z 本地找到的文件 61,

2016-04-22T13:04:56.3704280Z Files found locally 61,

2016-04-22T13:04:56.3704280Z 文件评估为 0,

2016-04-22T13:04:56.3704280Z Files evaluated 0,

2016-04-22T13:04:56.3704280Z 剩下的文件用于评估 61.,

2016-04-22T13:04:56.3704280Z Files left to evaluate 61.,

2016-04-22T13:04:56.3704280Z 创建的文件没有上传 0,

2016-04-22T13:04:56.3704280Z Files created without upload 0,

2016-04-22T13:04:56.3704280Z 上传的文件数为 0

2016-04-22T13:04:56.3704280Z Files uploaded 0

2016-04-22T13:04:56.3704280Z 待处理的文件 61

2016-04-22T13:04:56.3704280Z Files left to process 61

2016-04-22T13:04:56.3704280Z ---------------------------

2016-04-22T13:04:56.3704280Z ---------------------------

2016-04-22T13:04:57.7588280Z 开始:上传工件

2016-04-22T13:04:57.7588280Z Start: UploadArtifact

2016-04-22T13:04:57.7588280Z ##[错误]任务被取消.

2016-04-22T13:04:57.7588280Z ##[error]A task was canceled.

2016-04-22T13:04:57.7588280Z 结束:上传工件

2016-04-22T13:04:57.7588280Z End: UploadArtifact

有人遇到过这种情况吗?有没有人知道如何解决这个问题?

Has anyone experienced something like this? Does anyone has an idea how to solve this?

非常感谢任何

推荐答案

在再次添加相同的任务并删除始终运行"检查后,我收到一条有用的错误消息:

After adding the same task once more and removing the "Always Run" check, I got a useful error message:

TF30042:数据库的日志文件已满.联系您的团队Foundation Server ************ 备份事务日志数据库释放一些日志空间.服务器:TheServer,错误:9002,消息:'数据库'Tfs_DefaultCollection'的事务日志是由于ACTIVE_TRANSACTION",已满.

TF30042: The log file for the database is full. Contact your Team Foundation Server ************ to back up the transaction log for the database to free up some log space. Server: TheServer, Error: 9002, Message: 'The transaction log for database 'Tfs_DefaultCollection' is full due to 'ACTIVE_TRANSACTION'.'.

这件事解决了.

这篇关于TFS 2015:发布工件 - “任务被取消"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆