www-infrastructure-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jake Farrell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-6265) Install Apache Buildr on Ubuntu Jenkins Slaves
Date Wed, 15 May 2013 05:25:19 GMT

    [ https://issues.apache.org/jira/browse/INFRA-6265?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658072#comment-13658072
] 

Jake Farrell commented on INFRA-6265:
-------------------------------------

currently i'm showing jruby as: 
  jruby 1.7.3 (1.9.3p385) 2013-02-21 dac429b on OpenJDK 64-Bit Server VM 1.6.0_27-b27 [linux-amd64]
on all systems

I modified your script to run as follows,

#!/bin/bash
source "$HOME/.rvm/scripts/rvm"
rvm use jruby-1.7.3

export JRUBY_HOME=$HOME/.rvm/rubies/$RUBY_VERSION
export PATH=$PATH:$JRUBY_HOME/bin
export JAVA_OPTS="-Xmx1700M -XX:MaxPermSize=512M"

buildr -e hudson clean package test=all JAVADOC=off 2>&1


Adding the JRUBY_HOME export and testing with the jenkins user worked for me

Compiling ode:utils:test into /home/jenkins/ode_test/ODE-1.x/utils/target/test/classes
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Running tests in ode:utils
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
include_class is deprecated. Use java_import.
Trying to override old definition of datatype junit
    [junit] Testsuite: org.apache.ode.utils.DOMUtilsTest
    [junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.193 sec
    [junit] 
    [junit] Testcase: testParseInputStream took 0.505 sec
    [junit] Testcase: testParseInputSource took 0.003 sec
    [junit] Testcase: testNewDocument took 0.002 sec
    [junit] Testcase: testSerializeDom took 0.078 sec
...   


I've fired off a test build and waiting to get results back now
                
> Install Apache Buildr on Ubuntu Jenkins Slaves
> ----------------------------------------------
>
>                 Key: INFRA-6265
>                 URL: https://issues.apache.org/jira/browse/INFRA-6265
>             Project: Infrastructure
>          Issue Type: Task
>      Security Level: public(Regular issues) 
>          Components: Jenkins
>            Reporter: Tammo van Lessen
>            Assignee: Jake Farrell
>
> Since the jenkins clean up, our builds (Apache ODE) are not working anymore, since they
rely on Apache Buildr, which was installed on Vesta in my home directory. For some reason,
I lost access to vesta and I've learned that builds should not be pinned to node, so I'd need
the following be installed on all Ubuntu slaves:
> Apache Buildr 1.4.12, installed in JRuby 1.7.3
> Even better would probably an install using rvm and the related Jenkins plugin so that
each build config can choose the (j)ruby version it needs.
> Thanks,
>   Tammo

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message