Deployment on a Jenkins-Server

This document shows the deployment-server-settings to generate the installation- and update-packages. This is only for hardcore nerds :). You don’t need that for standard installation and updating of the portal.

1 Installed Linux packages

rsync 3.0.7-2 fast remote file copy program (like rcp) sed 4.2.1-7 The GNU sed stream editor php-pear 5.3.3-7squeeze8 PEAR - PHP Extension and Application Repository libapache2-mod-php5 5.3.3-7squeeze13 server-side, HTML-embedded scripting language (Apache 2 module) php-benchmark 1.2.7-5 Framework to benchmark PHP scripts or function calls php-pear 5.3.3-7squeeze8 PEAR - PHP Extension and Application Repository php5-cli 5.3.3-7squeeze13 command-line interpreter for the php5 scripting language php5-common 5.3.3-7squeeze13 Common files for packages built from the php5 source php5-curl 5.3.3-7squeeze13 CURL module for php5 php5-dev 5.3.3-7squeeze9 Files for PHP5 module development php5-gd 5.3.3-7squeeze13 GD module for php5 php5-memcache 3.0.4-4 memcache extension module for PHP5 php5-mysql 5.3.3-7squeeze13 MySQL module for php5 php5-suhosin 0.9.32.1-1 advanced protection module for php5 php5-xdebug 2.1.0-1 Xdebug Module for PHP 5 phpunit 3.4.14-1 Unit testing suite for PHP5 doxygen 1.7.1-2 Documentation system for C, C, Java, Python and other languages libruby1.9.1 1.9.2.0-2 Libraries necessary to run Ruby 1.9.1 libruby1.9.1-dbg 1.9.2.0-2 Debugging symbols for Ruby 1.9.1 libtcltk-ruby1.9.1 1.9.2.0-2 Tcl/Tk interface for Ruby 1.9.1 ruby1.9.1 1.9.2.0-2 Interpreter of object-oriented scripting language Ruby 1.9.2 ruby1.9.1-dev 1.9.2.0-2 Header files for compiling extension modules for the Ruby 1.9.1 ruby1.9.1-examples 1.9.2.0-2 Examples for Ruby 1.9 ruby1.9.1-full 1.9.2.0-2 Ruby 1.9.1 full installation libdbd-mysql-perl 4.016-1 Perl5 database interface to the MySQL database libmysqlclient16 5.1.61-0squeeze1 MySQL database client library libqt4-sql-mysql 4:4.6.3-4squeeze1 Qt 4 MySQL database driver mysql-client-5.1 5.1.61-0squeeze1 MySQL database client binaries mysql-common 5.1.61-0squeeze1 MySQL database common files, e.g. /etc/mysql/my.cnf mysql-server 5.1.61-0squeeze1 MySQL database server (metapackage depending on the latest version) mysql-server-5.1 5.1.61-0squeeze1 MySQL database server binaries and system database setup mysql-server-core-5.1 5.1.61-0squeeze1 MySQL database server binaries jenkins 1.464 Continuous integration system written in Java

2 Installed GEMs

abstract (1.0.0) actionpack (3.0.12) activemodel (3.0.12) activesupport (3.0.12) builder (2.1.2) daemons (1.1.8) erubis (2.6.6) eventmachine (1.0.0.beta.4) guides (0.7.2) i18n (0.5.0) maruku (0.6.0) rack (1.2.5) rack-mount (0.6.14) rack-test (0.5.7) RedCloth (4.2.9) syntax (1.0.0) thin (1.2.11) thor (0.14.6) tzinfo (0.3.33)

3 Installed PEAR-packages

Archive_Tar 1.3.10 stable Benchmark 1.2.7 stable Console_Color 1.0.3 stable Console_Getargs 1.3.5 stable Console_Getopt 1.3.1 stable Console_ProgressBar 0.5.2beta beta Console_Table 1.1.4 stable Crypt_HMAC2 1.0.0 stable Event_Dispatcher 1.1.0 stable File_Find 1.3.1 stable HTML_Common 1.2.5 stable HTML_Table 1.8.3 stable HTTP_Request2 2.1.1 stable Net_URL2 2.0.0 stable PEAR 1.9.4 stable PEAR_PackageFileManager 1.7.0 stable PEAR_PackageFileManager2 1.0.2 stable PEAR_PackageFileManager_Plugins 1.0.2 stable PHPUnit 1.3.2 stable PHP_CodeSniffer 1.3.3 stable PHP_CompatInfo 1.9.0 stable PhpDocumentor 1.4.4 stable Services_Amazon_S3 0.3.5 alpha Structures_Graph 1.0.4 stable Var_Dump 1.0.4 stable VersionControl_Git 0.4.4 alpha VersionControl_SVN 0.4.0 alpha XML_Beautifier 1.2.2 stable XML_Parser 1.3.4 stable XML_Serializer 0.20.2 beta XML_Util 1.2.1 stable

4 Installed Jenkins Plugins

ant javadoc Git Plugin 1.1.18 Git Parameter Plug-In 0.2 Jenkins SSH Slaves plugin 0.21 Jenkins Workspace Cleanup Plugin 0.10 Maven 2 Project Plugin 1.464 GitHub API Plugin 1.23 GitHub Plugin 1.2 embeddable-build-status 1.0 Github OAuth Plugin 0.11 Subversion Plugin 1.34 Translation Assistance Plugin 1.8 GitHub SQS Build Trigger Plugin 1.0 CVS Plugin 1.6

5 Jenkins Project-config.xml

<?xml version='1.0' encoding='UTF-8'?>
<maven2-moduleset>
  <actions/>
  <description></description>
  <logRotator>
    <daysToKeep>-1</daysToKeep>
    <numToKeep>2</numToKeep>
    <artifactDaysToKeep>-1</artifactDaysToKeep>
    <artifactNumToKeep>-1</artifactNumToKeep>
  </logRotator>
  <keepDependencies>false</keepDependencies>
  <properties>
    <com.coravy.hudson.plugins.github.GithubProjectProperty>
      <projectUrl>https://github.com/gentics/gPortal/</projectUrl>
    </com.coravy.hudson.plugins.github.GithubProjectProperty>
  </properties>
  <scm class="hudson.plugins.git.GitSCM">
    <configVersion>2</configVersion>
    <userRemoteConfigs>
      <hudson.plugins.git.UserRemoteConfig>
        <name>master</name>
        <refspec>+refs/heads/*:refs/remotes/origin/*</refspec>
        <url>https://{GITUSER}:{GITPASSWORD}@github.com/gentics/gPortal.git</url>
      </hudson.plugins.git.UserRemoteConfig>
    </userRemoteConfigs>
    <branches>
      <hudson.plugins.git.BranchSpec>
        <name>**</name>
      </hudson.plugins.git.BranchSpec>
    </branches>
    <disableSubmodules>false</disableSubmodules>
    <recursiveSubmodules>false</recursiveSubmodules>
    <doGenerateSubmoduleConfigurations>false</doGenerateSubmoduleConfigurations>
    <authorOrCommitter>false</authorOrCommitter>
    <clean>false</clean>
    <wipeOutWorkspace>false</wipeOutWorkspace>
    <pruneBranches>false</pruneBranches>
    <remotePoll>false</remotePoll>
    <ignoreNotifyCommit>false</ignoreNotifyCommit>
    <buildChooser class="hudson.plugins.git.util.DefaultBuildChooser"/>
    <gitTool>Default</gitTool>
    <submoduleCfg class="list"/>
    <relativeTargetDir></relativeTargetDir>
    <reference></reference>
    <excludedRegions></excludedRegions>
    <excludedUsers></excludedUsers>
    <gitConfigName></gitConfigName>
    <gitConfigEmail></gitConfigEmail>
    <skipTag>false</skipTag>
    <includedRegions></includedRegions>
    <scmName></scmName>
  </scm>
  <canRoam>true</canRoam>
  <disabled>false</disabled>
  <blockBuildWhenDownstreamBuilding>false</blockBuildWhenDownstreamBuilding>
  <blockBuildWhenUpstreamBuilding>false</blockBuildWhenUpstreamBuilding>
  <triggers class="vector"/>
  <concurrentBuild>false</concurrentBuild>
  <rootModule>
    <groupId>org.gportal</groupId>
    <artifactId>gportal</artifactId>
  </rootModule>
  <aggregatorStyleBuild>true</aggregatorStyleBuild>
  <incrementalBuild>false</incrementalBuild>
  <perModuleEmail>true</perModuleEmail>
  <ignoreUpstremChanges>true</ignoreUpstremChanges>
  <archivingDisabled>false</archivingDisabled>
  <resolveDependencies>false</resolveDependencies>
  <processPlugins>false</processPlugins>
  <mavenValidationLevel>-1</mavenValidationLevel>
  <runHeadless>false</runHeadless>
  <settingConfigId></settingConfigId>
  <globalSettingConfigId></globalSettingConfigId>
  <reporters/>
  <publishers>
    <hudson.tasks.BuildTrigger>
      <childProjects>AK-GcnPhpBuild</childProjects>
      <threshold>
        <name>SUCCESS</name>
        <ordinal>0</ordinal>
        <color>BLUE</color>
      </threshold>
    </hudson.tasks.BuildTrigger>
  </publishers>
  <buildWrappers/>
  <prebuilders/>
  <postbuilders/>
  <runPostStepsIfResult>
    <name>FAILURE</name>
    <ordinal>2</ordinal>
    <color>RED</color>
  </runPostStepsIfResult>
</maven2-moduleset>