[
https://issues.apache.org/jira/browse/PIVOT-791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13088103#comment-13088103
]
dreamtangerine edited comment on PIVOT-791 at 8/20/11 1:30 AM:
---------------------------------------------------------------
To test a local Jenkins server with the files above, you have to do :
* Install a tomcat sever
(http://www.poolsaboveground.com/apache/tomcat/tomcat-6/v6.0.33/bin/apache-tomcat-6.0.33.zip).
* Install a Jenkins server
(http://mirrors.jenkins-ci.org/war/latest/jenkins.war)
* Create a new Job (link top and right) and call it PivotBuild, open
configure.html from jenkins.configure.html.zip and copy all values.
In Invoke Ant -> Targets change the path "-lib /usr/share/java/junit4.jar"
with the path where junit.jar is on your system or remove -lib argument, if
junit is already in your classpath (the rest of arguments are the targets to
build).
* Build the project (link Build Now or the clock with the green play icon). The
build probably will fail because you need replace the build.xml and
build.properties until they are upload to svn.
* Go to your home folder and search for a folder called
jenkins/workspace/PivotBuild (in linux .jenkins) and replace build.xml and
build.properties with ones from pivot modified files.zip
* Build again and all should go fine.
That is all
was (Author: dreamtangerine):
To test a local Jenkins server with the files above, you have to do :
* Install a tomcat sever
(http://www.poolsaboveground.com/apache/tomcat/tomcat-6/v6.0.33/bin/apache-tomcat-6.0.33.zip).
* Install a Jenkins server
(http://mirrors.jenkins-ci.org/war/latest/jenkins.war)
* Create a new Job (link top and right) and call it PivotBuid, open
configure.html from jenkins.configure.html.zip and copy all values.
In Invoke Ant -> Targets change the path "-lib /usr/share/java/junit4.jar"
with the path where junit.jar is on your system or remove -lib argument, if
junit is already in your classpath (the rest of arguments are the targets to
build).
* Build the project (link Build Now or the clock with the green play icon). The
build probably will fail because you need replace the build.xml and
build.properties until they are upload to svn.
* Go to your home folder and search for a folder called
jenkins/workspace/PivotBuild (in linux .jenkins) and replace build.xml and
build.properties with ones from pivot modified files.zip
* Build again and all should go fine.
That is all
> Use of Jenkins for regular builds & testing
> -------------------------------------------
>
> Key: PIVOT-791
> URL: https://issues.apache.org/jira/browse/PIVOT-791
> Project: Pivot
> Issue Type: Task
> Components: project, tools
> Affects Versions: 2.0.1, 2.0.2, 2.1, 3.0
> Environment: Any OS with Jenkins and tools for Pivot builds.
> Reporter: dreamtangerine
> Labels: build
> Attachments: jenkins.config.xml.zip, jenkins.configure.html.zip,
> pivot modified files.zip
>
>
> Use Apache infrastructure for continuous integration or nightly builds and
> testing.
> We can use Jenkins server from https://builds.apache.org/ to make nightly
> builds and testing.
> Here are a link to Apache Jenkins infrastructure FAQ
> http://wiki.apache.org/general/Hudson
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira