2011-03-09 109 views
1

我有一个竹实例安装做构建具有以下配置:配置构建工作竹(CI平台)

  1. 竹版本3.0.1 =
  2. 运行的版本时,我得到了以下错误:
 
09-Mar-2011 08:57:50 Pulling from repository `/root/POC/PRS' to directory '/root/bamboo-ci/xml-data/build-dir/_hg-repositories-cache/d20373e808a2d0e95a604129054231a0da36ff99' 
09-Mar-2011 08:57:50 pulling from /root/POC/PRAEFECTUS 
09-Mar-2011 08:57:50 searching for changes 
09-Mar-2011 08:57:50 no changes found 
09-Mar-2011 08:57:50 Copying repository from cache directory to source directory... 
09-Mar-2011 08:57:50 Creating empty repository in directory '/root/bamboo-ci/xml-data/build-dir/PRQA-PRQAKEY-JOB1' 
09-Mar-2011 08:57:50 Pulling from repository `/root/bamboo-ci/xml-data/build-dir/_hg-repositories-cache/d20373e808a2d0e95a604129054231a0da36ff99' to directory '/root/bamboo-ci/xml-data/build-dir/PRQA-PRQAKEY-JOB1' 
09-Mar-2011 08:57:51 pulling from /root/bamboo-ci/xml-data/build-dir/_hg-repositories-cache/d20373e808a2d0e95a604129054231a0da36ff99 
09-Mar-2011 08:57:51 requesting all changes 
09-Mar-2011 08:57:51 adding changesets 
09-Mar-2011 08:57:51 adding manifests 
09-Mar-2011 08:57:51 adding file changes 
09-Mar-2011 08:57:51 added 1 changesets with 810 changes to 810 files 
09-Mar-2011 08:57:51 (run 'hg update' to get a working copy) 
09-Mar-2011 08:57:52 810 files updated, 0 files merged, 0 files removed, 0 files unresolved 
09-Mar-2011 08:57:52 Updated source code to revision: cc40b2d9c09ea747529887dd8db9319f53c5db4e 
09-Mar-2011 08:57:52 Executing build PRQA-PRQAKEY-JOB1-2 
09-Mar-2011 08:57:52 Running pre-build action: Build Number Stamper 
09-Mar-2011 08:57:52 Running pre-build action: Clover Grails PreBuild Action 
09-Mar-2011 08:57:52 Running pre-build action: VCS Version Collector 
09-Mar-2011 08:57:52 Running pre-build action: Repository Isolation Enabler Action 
09-Mar-2011 08:57:52 Running pre-build action: Maven Settings Prebuild Action 
09-Mar-2011 08:57:52 Building started with ScriptBuilder 
09-Mar-2011 08:57:52  
Starting to build 'PRAEFECTUS-QA - PRQA-PLAN - Default Job' 
... running command line: /bin/sh Makefile 
... in : /root/bamboo-ci/xml-data/build-dir/PRQA-PRQAKEY-JOB1 
09-Mar-2011 08:57:52 Makefile: 10: PYTHON: not found 

,但如果我们看一下在错误中列出的文件夹,Makefile中有

 
[email protected]:~/bamboo-ci/xml-data/build-dir/PRQA-PRQAKEY-JOB1# ls -l 
total 104 
-rw-r--r-- 1 root root 45 2011-03-09 08:57 AUTHORS 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 bin 
-rw-r--r-- 1 root root 138 2011-03-09 08:57 build-number.txt 
-rw-r--r-- 1 root root 120 2011-03-09 08:57 CHANGES 
-rwxr-xr-x 1 root root 9703 2011-03-09 08:57 ez_setup.py 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 images 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 init.d 
drwxr-xr-x 5 root root 4096 2011-03-09 08:57 iped 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 logrotate.d 
-rw-r--r-- 1 root root 932 2011-03-09 08:57 Makefile 
-rw-r--r-- 1 root root 175 2011-03-09 08:57 MANIFEST.in 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 nbproject 
-rw-r--r-- 1 root root 1109 2011-03-09 08:57 NEWS 
drwxr-xr-x 5 root root 4096 2011-03-09 08:57 prs 
drwxr-xr-x 3 root root 4096 2011-03-09 08:57 rpa 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 sbin 
drwxr-xr-x 4 root root 4096 2011-03-09 08:57 scripts 
-rw-r--r-- 1 root root 81 2011-03-09 08:57 setup.cfg 
-rwxr-xr-x 1 root root 2796 2011-03-09 08:57 setup.py 
drwxr-xr-x 2 root root 4096 2011-03-09 08:57 src 
drwxr-xr-x 7 root root 4096 2011-03-09 08:57 test 
drwxr-xr-x 5 root root 4096 2011-03-09 08:57 tests 
-rw-r--r-- 1 root root 501 2011-03-09 08:57 TODO 
-rw-r--r-- 1 root root 6 2011-03-09 08:57 VERSION 
[email protected]:~/bamboo-ci/xml-data/build-dir/PRQA-PRQAKEY-JOB1# 

关于如何在Bamboo中设置Job的任何提示?我正在使用Mercurial,项目是在Python中。

回答

2

,我可以看到你已经使用了专用于运行shell脚本时,你可能需要运行一个命令一个建设者ScriptBuilder

make 

你需要做的是:

  • 转到管理/服务器功能
  • 在“添加功能”中选择:功能类型:构建器,类型:命令,构建器标签:Make,Path:输入make实用程序的完整路径(即/ usr/bin /使)
  • 现在导航到你的计划,配置和变更的建设者“交”

这些更改您的构建应该是工作的罚款后。

PS。 在未来的问题,你应该尝试Atlassian的支持网站(http://support.atlassian.com)报告的问题的情况下

免责声明:是的,我工作了Atlassian的

+1

不知何故,我在这里得到更快的响应速度:)但我会在论坛上发布它,因为我是试用客户。但是谢谢你的帮助。 – kamal 2011-03-15 17:29:21

+0

仅供参考,我也是一名试用客户,我也通过Atlassian支持获得了良好的响应。 – macetw 2014-09-15 15:50:52