2017-10-01 11:13:31 -06:00
|
|
|
#!/bin/sh -xe
|
|
|
|
OS_TYPE=$1
|
|
|
|
OS_VERSION=$2
|
|
|
|
|
|
|
|
yum -y clean all
|
|
|
|
yum -y clean expire-cache
|
|
|
|
yum groupinstall "Development tools" -y >& /dev/null
|
2017-10-23 13:23:06 -06:00
|
|
|
yum install wget cmake ruby boost-devel libuuid-devel -y
|
2017-10-01 20:37:06 -06:00
|
|
|
wget -O /etc/yum.repos.d/awips2.repo http://www.unidata.ucar.edu/software/awips2/doc/awips2.repo
|
|
|
|
yum -y clean all
|
2017-10-01 11:13:31 -06:00
|
|
|
yum groupinstall awips2-ade -y >& /dev/null
|
|
|
|
yum install git -y >& /dev/null
|
|
|
|
|
|
|
|
. /awips2/repo/awips2-builds/rpms/unidata/buildEnvironment.sh
|
|
|
|
|
2017-10-01 20:37:06 -06:00
|
|
|
mkdir -p /awips2/jenkins/buildspace/workspace/AWIPS2-UPC_build/baseline
|
|
|
|
mkdir -p /awips2/jenkins/buildspace/workspace/tmp
|
|
|
|
mkdir -p /awips2/jenkins/build/rpms/awips2_${AWIPSII_VERSION}/x86_64/
|
2017-10-23 14:56:12 -06:00
|
|
|
mkdir -p /awips2/jenkins/build/rpms/awips2_${AWIPSII_VERSION}/noarch/
|
2017-10-01 20:37:06 -06:00
|
|
|
|
2017-10-01 11:13:31 -06:00
|
|
|
pushd /awips2/repo
|
|
|
|
|
|
|
|
git clone https://github.com/Unidata/awips2-ncep.git --branch unidata_${AWIPSII_VERSION} --single-branch
|
|
|
|
git clone https://github.com/Unidata/awips2-core.git --branch unidata_${AWIPSII_VERSION} --single-branch
|
|
|
|
git clone https://github.com/Unidata/awips2-core-foss.git --branch unidata_${AWIPSII_VERSION} --single-branch
|
|
|
|
git clone https://github.com/Unidata/awips2-foss.git --branch unidata_${AWIPSII_VERSION} --single-branch
|
2017-10-10 09:06:02 -06:00
|
|
|
git clone https://github.com/Unidata/awips2-rpmbuild.git awips2-rpm --branch unidata_${AWIPSII_VERSION} --single-branch
|
2017-10-01 11:13:31 -06:00
|
|
|
git clone https://github.com/Unidata/awips2-nws.git --branch unidata_${AWIPSII_VERSION} --single-branch
|
|
|
|
|
2017-10-01 20:37:06 -06:00
|
|
|
cd /awips2/repo/awips2-builds/rpms/unidata/
|
|
|
|
|
2017-10-25 12:44:43 -06:00
|
|
|
/bin/bash cibuild.sh -b awips2-localization
|
2017-10-24 09:51:30 -06:00
|
|
|
/bin/bash cibuild.sh -qpid
|
2017-10-25 12:44:43 -06:00
|
|
|
/bin/bash cibuild.sh -python
|
|
|
|
/bin/bash cibuild.sh -database
|
|
|
|
/bin/bash cibuild.sh -b awips2
|
|
|
|
/bin/bash cibuild.sh -b awips2-cli
|
|
|
|
/bin/bash cibuild.sh -b awips2-httpd-pypies
|
|
|
|
/bin/bash cibuild.sh -b awips2-ldm
|
|
|
|
/bin/bash cibuild.sh -b awips2-edex-upc
|
2017-10-24 09:51:30 -06:00
|
|
|
/bin/bash cibuild.sh -b buildEDEX >& /dev/null
|
2017-10-01 11:13:31 -06:00
|
|
|
|
|
|
|
find /awips2/jenkins/build/rpms/awips2_${AWIPSII_VERSION}/
|