2017-02-16 241 views
1

我有一个发布一个文件当作摆设(这是最简单的配置,我可以发现,再现了这个问题)工件依赖关系没有解决

enter image description here

我有了这样一个工作,TeamCity的工作工作作为快照依赖和神器依赖

enter image description here

第二个作业无法启动,并在日志如下:

[13:42:27]Collecting changes in 1 VCS root (2s) 
[13:42:27][Collecting changes in 1 VCS root] VCS Root details 
[13:42:27][VCS Root details] "xxx" {instance id=842, parent internal id=191, parent id=XXXXX, description: "GITURL.git#refs/heads/master"} 
[13:42:32]Skip checking for changes - changes are already collected 
[13:42:32]Clearing temporary directory: /home/centos/buildAgent/work/buildTmp 
[13:42:32]Publishing internal artifacts 
[13:42:32][Publishing internal artifacts] Publishing 1 file using [WebPublisher] 
[13:42:32][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher] 
[13:42:32]Checkout directory: /home/centos/buildAgent/work/56c889e980287ca6 
[13:42:32]Resolving artifact dependencies 
[13:42:32][Resolving artifact dependencies] Started downloading files from <XXXX :: Build and push images, build #0.0.34 [id 256119]> 
[13:42:32][Resolving artifact dependencies] Failed to resolve artifact dependency <XXXX :: Build and push images, build #0.0.34 [id 256119]>: IO exception while creating or opening temp file: No such file or directory (jetbrains.buildServer.artifacts.ResolvingFailedException) 
[13:42:32]Publishing internal artifacts 
[13:42:32][Publishing internal artifacts] Publishing 1 file using [WebPublisher] 
[13:42:32][Publishing internal artifacts] Publishing 1 file using [ArtifactsCachePublisher] 
[13:42:32]Build failed to start. Artifacts will not be published for this build 
[13:42:33]Build finished 

我们已经验证了teamcity服务器的确有必要的工件。

当我点击“检查工件依赖关系”配置他们解决问题,而不依赖时...

[13:46:45]: Dependency resolving started... 
[13:46:45]: Downloading artifacts from: http://tcurl:8888 
[13:46:45]: Downloading teamcity-deploy.sh from <XXXX :: Build and push images, build from the same chain> to teamcity-deploy.sh; 
[13:46:45]: <XXXX :: Build and push images, build from the same chain> teamcity-deploy.sh => teamcity-deploy.sh 
[13:46:45]: Dependency resolving finished successfully 

有没有人有任何建议,这可能是导致这个问题?

回答

0

根据修订版本号选择“从同一链生成”的快照依存关系具有“瞬间”关系。所以人工制品需要的不仅仅是存在,它必须存在于该修订中。从构建配置页面成功解析的能力并不意味着所有的依赖于快照的构建。确保处理最新版本的一种方法是使用两个配置所在的项目页面中的构建链选项卡。展开顶部链并确保从同一链中运行。你可以在成功的页面看到这个神器吗?你从同一个链条的构建中看到问题出在哪里?