【发布时间】:2019-07-01 17:25:46
【问题描述】:
我们已从旧的 xaml-build 定义切换到 TFS 2017 中的新构建定义。当我们尝试构建项目时,它失败并出现以下错误:
Starting: Build
******************************************************************************
Current agent version: '2.117.2'
******************************************************************************
Starting: Initialize Job
******************************************************************************
Prepare build directory.
One or more errors occurred. (One or more errors occurred. (The process cannot access the file 'E:\agent builds\agent1\1\s\Server\.vs\Server\v15\Server\sqlite3\db.lock' because it is being used by another process.)) (The process cannot access the file 'E:\agent builds\agent1\1\s\Server\.vs\Server\v15\Server\sqlite3\db.lock' because it is being used by another process.)
******************************************************************************
Finishing: Initialize Job
******************************************************************************
******************************************************************************
Finishing: Build
******************************************************************************
为什么在构建时会锁定一个 sqlite 数据库?什么配置错误会导致这种情况?
【问题讨论】:
标签: tfs