2011-03-09 112 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