无法使TeamCity eclipse插件远程运行

时间:2018-12-19 09:00:56

标签: eclipse teamcity perforce

我正在尝试使用Eclipse插件测试“远程运行”功能,但是它似乎无法正常工作。

我遇到以下错误:

没有可用所选文件触发的构建配置。请检查是否满足以下条件: 本地VCS设置对应于TeamCity服务器上目标构建配置的VCS设置; 您具有查看和运行目标项目的构建权限。

我已经创建了.teamcity-mappings.properties并将其放在我项目的根文件夹中

我正在Fedora上运行

Eclipse版本4.7.1a 适用于Eclipse的Perforce + Perforce插件 TeamCity 2017.1.2

我尝试将--debug标志和适当的teamcity选项设置为true来运行eclipse,在控制台上我看到了这一点,其中突出显示的文件是我所做的更改,并希望使用它进行构建:

DEBUG_UI     - Task "Preparing for TeamCity Remote Run" started
2018-12-19 09:14:10,217 DEBUG [Worker-8] DEBUG_VCS_DETAIL     - PerforceSyncInfo: "**perforce://perforce:1666:////ProductsTasks2016/annag_from_trunk/1250Base/AppDev/utils/size.sh**" haveRevision=2 headRevision=2
2018-12-19 09:14:10,217 DEBUG [Worker-8] PERFORMANCE_VCS     -  TCWorkspaceSubscriber.collectOutOfSync(): Summary for 1 root(s): [1] ms
2018-12-19 09:14:10,218 DEBUG [Worker-8] PERFORMANCE_VCS     -  RemoteRunAction.getStatuses: Summary: [2] ms
2018-12-19 09:14:10,218 DEBUG [Worker-8] PERFORMANCE_VCS     -    1 SyncInfos collected: [2] ms
2018-12-19 09:14:10,218 DEBUG [Worker-8] PERFORMANCE_VCS     -    1 RemoteResource got: [0] ms
2018-12-19 09:14:10,218 DEBUG [Worker-8] DEBUG_TEAMCITY     - Asking Applicable Configurations for 1 resources
2018-12-19 09:14:10,218 DEBUG [Worker-8] DEBUG_VCS_DETAIL     - Asking Applicable Configurations for [perforce://perforce:1666:////ProductsTasks2016/annag_from_trunk/1250Base/AppDev/utils/size.sh]
2018-12-19 09:14:10,278 DEBUG [Worker-8] DEBUG_TEAMCITY     - Asking Applicable Configurations took 60 milliseconds
2018-12-19 09:14:10,279 DEBUG [Worker-8] DEBUG_TEAMCITY     - Asking Applicable Configurations: 0 configurations found
2018-12-19 09:14:10,279 DEBUG [Worker-8] PERFORMANCE_TEAMCITY     -  Util.getApplicableConfigurations: Summary: [61] ms
2018-12-19 09:14:10,279 DEBUG [Worker-8] PERFORMANCE_TEAMCITY     -       0 found configuration(s): [60] ms
2018-12-19 09:14:10,279 DEBUG [Worker-8] PERFORMANCE_TEAMCITY     -       0 checked configuration(s), 0 accepted: [0] ms
2018-12-19 09:14:23,380 DEBUG [Worker-8] DEBUG_VCS_DETAIL     - PerforceSyncInfo: "perforce://perforce:1666:////ProductsTasks2016/annag_from_trunk/1250Base/AppDev/utils/size.sh" haveRevision=2 headRevision=2
2018-12-19 09:14:23,380 DEBUG [Worker-8] PERFORMANCE_VCS     -  PerforceChangeSetManager.resourceChanged(REFRESHED): 1 IP4Changelist(s) processed: [1] ms
2018-12-19 09:14:23,381 DEBUG [Worker-16] DEBUG_VCS_DETAIL     - PerforceSyncInfo: "perforce://perforce:1666:////ProductsTasks2016/annag_from_trunk/1250Base/AppDev/utils/size.sh" haveRevision=2 headRevision=2
2018-12-19 09:14:23,481 DEBUG [Worker-20] DEBUG_VCS_DETAIL     - PerforceSyncInfo: "perforce://perforce:1666:////ProductsTasks2016/annag_from_trunk/1250Base/AppDev/utils/size.sh" haveRevision=2 headRevision=2
2018-12-19 09:14:23,484 DEBUG [Worker-19] DEBUG_VCS_DETAIL     - PerforceSyncInfo: "perforce://perforce:1666:////ProductsTasks2016/annag_from_trunk/1250Base/AppDev/utils/size.sh" haveRevision=2 headRevision=2

我试图从项目的根目录中删除.teamcity-mappings.properties文件。当我按远程运行时,我会收到相同的错误,因此似乎由于某种原因文件未得到反映...

文件内容:

utils=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev/utils
u-boot/vrm=perforce://perforce:1666:////Products/TRUNK/1250Base/u-boot-vrm/vrm
u-boot/include/vrm=perforce://perforce:1666:////Products/TRUNK/1250Base/u-boot-vrm/include/vrm
u-boot/common/cmd_update.c=perforce://perforce:1666:////Products/TRUNK/1250Base/u-boot-vrm/common/cmd_update.c
u-boot=perforce://perforce:1666:////Products/TRUNK/3800Core/u-boot-3802
samples=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev/samples
makefiles=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev/makefiles
host=perforce://perforce:1666:////Products/TRUNK/1250Base/Host
config/version=perforce://perforce:1666:////Products/RiceKrispies_TRUNK/1250Base/AppDev/config/version
config=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev/config
apps=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev/apps
Makefile=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev/Makefile
Core/lwip=perforce://perforce:1666:////Products/TRUNK/1250Base/CorePacks/lwip-2.0.0.RC2
Core/include=perforce://perforce:1666:////Products/TRUNK/1250Base/CorePacks/sysroots/FreeRTOS/include
Core/FreeRTOS=perforce://perforce:1666:////Products/TRUNK/1250Base/CorePacks/RTOS/FreeRTOSV8.2.3/FreeRTOS
Core=perforce://perforce:1666:////Products/TRUNK/1250Base/CorePacks
BuildUtils=perforce://perforce:1666:////Products/TRUNK/1250Base/BuildUtils
1250Base/u-boot-vrm=perforce://perforce:1666:////Products/TRUNK/1250Base/u-boot-vrm
1250Base/AppDev=perforce://perforce:1666:////Products/TRUNK/1250Base/AppDev

0 个答案:

没有答案