The current build executed correctly as far as the change I made
earlier is concerned. This time it failed with what looks like a
corrupt jar?
[javac] error: error reading
/home/jenkins/jenkins-slave/workspace/Hcatalog-trunk-build/trunk/build/hcatalog-src-0.5.0-SNAPSHOT/core/build/lib/compile/grizzly-framework-2.1.1-tests.jar;
error in opening zip file
[javac] error: error reading
/home/jenkins/jenkins-slave/workspace/Hcatalog-trunk-build/trunk/build/hcatalog-src-0.5.0-SNAPSHOT/core/build/lib/compile/grizzly-framework-2.1.1.jar;
error in opening zip file
[javac] error: error reading
/home/jenkins/jenkins-slave/workspace/Hcatalog-trunk-build/trunk/build/hcatalog-src-0.5.0-SNAPSHOT/core/build/lib/compile/grizzly-rcm-2.1.1.jar;
error in opening zip file
--travis
On Thu, Dec 6, 2012 at 9:30 PM, Travis Crawford
<[email protected]> wrote:
> I just learned the "ant" shell script already respects ANT_HOME. I'll
> update the patch in https://issues.apache.org/jira/browse/HCATALOG-564
> to simply be a comment informing developers of this fact.
>
> I replaced the "export PATH" line with the following and the build
> seems to be executing correctly.
>
> export ANT_HOME=/home/jenkins/tools/ant/apache-ant-1.8.2
>
> --travis
>
>
>
> On Thu, Dec 6, 2012 at 9:20 PM, Travis Crawford
> <[email protected]> wrote:
>> The previous build failed because the default "ant" is 1.7.x, which
>> does not support an option we use. I just updated the build command
>> with:
>>
>> export PATH=/home/jenkins/tools/ant/apache-ant-1.8.2/bin:${PATH}
>>
>> Ideally test.sh should respect ANT_HOME if set. I'll post a patch.
>>
>> --travis
>>
>>
>> On Thu, Dec 6, 2012 at 5:50 PM, Travis Crawford
>> <[email protected]> wrote:
>>> Hey hcat gurus -
>>>
>>> short version: please run ./build-support/scripts/test.sh for routine
>>> local testing as it contains our collective knowledge of what commands
>>> to run. e2e tests have not changed.
>>>
>>> details:
>>>
>>> In https://issues.apache.org/jira/browse/HCATALOG-558 we committed
>>> test.sh, a script that contains all the commands one should run when
>>> doing routine testing on CI or locally. As our needs change we can
>>> evolve the script and keep everyone on the same page wrt how tests
>>> should be run.
>>>
>>> I just updated https://builds.apache.org/job/Hcatalog-trunk-build/ to
>>> run test.sh, and kicked off a build.
>>>
>>> The full log what what changed is below.
>>>
>>>
>>> NEW BUILD COMMAND:
>>> #!/bin/bash
>>> source ${WORKSPACE}/nightly/hudsonEnv.sh
>>> cd $TRUNK
>>> ./build-support/scripts/test.sh
>>>
>>>
>>> PREVIOUS BUILD COMMAND
>>> #!/bin/bash
>>> source ${WORKSPACE}/nightly/hudsonEnv.sh
>>> export ANT_HOME=/home/jenkins/tools/ant/apache-ant-1.8.2
>>> env
>>> cd $TRUNK
>>> $ANT_HOME/bin/ant -v ${BUILD_FLAGS} ${BUILD_ARGS} ${BUILD_TARGETS}
>>>
>>>
>>> REMOVED BUILD PARAMETERS AS THEY ARE NO LONGER NEEDED
>>>
>>> VERSION
>>> 0.5.0-SNAPSHOT
>>> To set build version
>>>
>>> BUILD_FLAGS
>>> -Dhcatalog.version=$VERSION -Dtest.junit.output.format=xml
>>> -Divy.default.ivy.user.dir=${WORKSPACE}/trunk/build
>>> To set build flags
>>>
>>> BUILD_ARGS
>>> -Dforrest.home=$FORREST_HOME
>>> To set various build tools home folder
>>>
>>> BUILD_TARGETS
>>> clean test docs forrest tar mvn-deploy
>>> To call regular build targets
>>>
>>>
>>> Thanks!
>>> Travis