User Tools

Site Tools


devel:hudson

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
devel:hudson [2010/07/08 13:11]
thomaska Update irc settings
devel:hudson [2010/07/09 11:58]
thomaska Update build triggers
Line 32: Line 32:
  CLASSPATH=/​usr/​share/​java/​libsnmp-1.4.jar  CLASSPATH=/​usr/​share/​java/​libsnmp-1.4.jar
  
-===== Create DB job =====+===== Make install ​job =====
  
   * New Job   * New Job
-  * Name: createdb, Type: freestyle+  * Name: make-install, Type: freestyle
   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
   * Build Triggers: Poll SCM schedule: * * * * *   * Build Triggers: Poll SCM schedule: * * * * *
-  * Build env: 
- 
- PGDATABASE=nav-$JOB_NAME 
- 
   * Build: Execute shell   * Build: Execute shell
  
- ./version.sh + ./autogen.sh 
- ./tests/​createdb-test.sh+ ./configure ​--prefix="​$WORKSPACE/​build"​ 
 + make 
 + make install
  
   * Test build   * Test build
  
-===== Make install ​job =====+===== Create DB job =====
  
   * New Job   * New Job
-  * Name: make-install, Type: freestyle+  * Name: createdb, Type: freestyle
   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
-  * Build Triggers: ​Poll SCM schedule: * * * * *+  * Build Triggers: ​After othermake-install 
 +  ​Build env: 
 + 
 + PGDATABASE=nav-$JOB_NAME 
   * Build: Execute shell   * Build: Execute shell
  
- ./autogen.sh + ./tests/​createdb-test.sh
- ./​configure --prefix="​$WORKSPACE/​build"​ +
- make +
- make install+
  
   * Test build   * Test build
Line 69: Line 68:
   * Name: python-tests,​ Type: freestyle   * Name: python-tests,​ Type: freestyle
   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x   * SCM: mercurial repo: http://​metanav.uninett.no/​hg/​series/​3.6.x/​ branch: ​ 3.6.x
-  * Build Triggers: After other: make-install, createdb+  * Build Triggers: After other: make-install
   * Build env:   * Build env:
  
Line 88: Line 87:
   * New Job   * New Job
   * Name: crawler-tests,​ Copy: python-tests   * Name: crawler-tests,​ Copy: python-tests
-  * Build Triggers: ​Poll SCM schedule* * * * *+  * Build Triggers: ​After othercreatedb
   * Build env:   * Build env:
  
Line 120: Line 119:
   * Build: Execute shell:   * Build: Execute shell:
  
- ./​version.sh 
  test -d $OTHER_FOLDER && rm -rf $OTHER_FOLDER || true  test -d $OTHER_FOLDER && rm -rf $OTHER_FOLDER || true
  hg clone $OTHER_URL $OTHER_FOLDER  hg clone $OTHER_URL $OTHER_FOLDER