maqetta/maqetta — Issue #1874: Build should immediately fail when downloading Equinox bits fails
Author: jhpedemonte
Created: 2012-03-08 18:05:41+00:00
State: open
Labels: Priority Med

Right now, lab9 builds are failing because the build scripts could not successfully pull down the Equinox bits. However, the build does not immediately fail, but continues. We should change this to immediately fail if this pull fails.

Log:

```
[workspace] $ /bin/sh -xe /tmp/hudson160181380247341947.sh
+ export ECLIPSE_HOME=/usr/share/eclipse-SDK-3.7-linux-gtk-x86_64
+ ECLIPSE_HOME=/usr/share/eclipse-SDK-3.7-linux-gtk-x86_64
+ export MAQETTA_BUILD_DIR=/var/lib/jenkins/jobs/maqetta-internal/workspace
+ MAQETTA_BUILD_DIR=/var/lib/jenkins/jobs/maqetta-internal/workspace
+ export MAQETTA_WS=gtk
+ MAQETTA_WS=gtk
+ export MAQETTA_OS=linux
+ MAQETTA_OS=linux
+ export MAQETTA_ARCH=x86_64
+ MAQETTA_ARCH=x86_64
+ export maqettaCode=/var/lib/jenkins/jobs/maqetta-internal/workspace/src
+ maqettaCode=/var/lib/jenkins/jobs/maqetta-internal/workspace/src
+ export maqettaInternalCode=/var/lib/jenkins/jobs/maqetta-internal/workspace/src_internal
+ maqettaInternalCode=/var/lib/jenkins/jobs/maqetta-internal/workspace/src_internal
+ /var/lib/jenkins/jobs/maqetta-internal/workspace/src_internal/davinci.internal.releng/build.sh --git-http
Using /var/lib/jenkins/jobs/maqetta-internal/workspace for build out directory..
Using /usr/share/eclipse-SDK-3.7-linux-gtk-x86_64 Eclipse for build...
Using /var/lib/jenkins/jobs/maqetta-internal/workspace for build out directory..
Cloning Equinox repository. This may take a few moments...
Cloning into rt.equinox.bundles...
error: couldn't connect to host while accessing http://git.eclipse.org/gitroot/equinox/rt.equinox.bundles.git/info/refs

fatal: HTTP request failed
Switching Equinox to branch R3_6_maintenance...
/var/lib/jenkins/jobs/maqetta-internal/workspace/repository/maqetta/releng/davinci.releng/build.sh: line 191: cd: /var/lib/jenkins/jobs/maqetta-internal/workspace/repository/rt.equinox.bundles: No such file or directory
fatal: git checkout: updating paths is incompatible with switching branches.
Did you intend to checkout 'jobs/maqetta-internal/workspace/repository/remotes/origin/R3_6_maintenance' which can not be resolved as commit?
Starting internal build....
Buildfile: /var/lib/jenkins/jobs/maqetta-internal/workspace/repository/maqetta/releng/davinci.releng/buildAll.xml
```

@waynevicknair