1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-12 19:10:19 +03:00

Jenkins scripts latest state from the server

This commit is contained in:
Damjan Adamic 2016-01-03 16:58:24 +01:00
parent c5e0eb84b8
commit a4e6c90d1d
8 changed files with 23 additions and 19 deletions

View file

@ -31,7 +31,7 @@ chmod -Rf g+w . || true
# request companion compilation on Windows
cd ${DESTDIR}
wget -qO- http://winbox.open-tx.org/companion-builds/compile.php?branch=${branch}\&suffix=${OPENTX_VERSION_SUFFIX}
wget -qO- http://winbox.open-tx.org/companion-builds/compile21.php?branch=${branch}\&suffix=${OPENTX_VERSION_SUFFIX}
wget -O companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe http://winbox.open-tx.org/companion-builds/companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe
mv $DIR/opentx/companion/companion.stamp ./companion-windows.stamp

View file

@ -24,16 +24,16 @@ mkdir -p $_
cd $_
cmake -DPCB=TARANIS ../opentx
make package
cp ./companion${version}-${release}${OPENTX_VERSION_SUFFIX}-i686.rpm ${DESTDIR}
make stamp
chmod -Rf g+w . || true
cp ./companion${version}-${release}${OPENTX_VERSION_SUFFIX}-i686.rpm ${DESTDIR}/linux
chmod -Rf g+w ${DESTDIR}/linux/companion${version}-${release}${OPENTX_VERSION_SUFFIX}-i686.rpm
# request companion compilation on Windows
cd ${DESTDIR}
wget -qO- http://winbox.open-tx.org/companion-builds/compile.php?branch=${branch}\&suffix=${OPENTX_VERSION_SUFFIX}
wget -O companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe http://winbox.open-tx.org/companion-builds/companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe
mv $DIR/opentx/companion/companion.stamp ./companion-windows.stamp
wget -qO- http://winbox.open-tx.org/companion-builds/compile22.php?branch=${branch}\&suffix=${OPENTX_VERSION_SUFFIX}
wget -O windows/companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe http://winbox.open-tx.org/companion-builds/companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe
chmod -Rf g+w windows/companion-windows-${release}${OPENTX_VERSION_SUFFIX}.exe
chmod -Rf g+w . || true
# update windows stamp
cp $DIR/companion-build/version.h ./companion-windows.stamp
chmod -Rf g+w ./companion-windows.stamp

View file

@ -4,7 +4,7 @@
set -e
# make sure we are in the good directory
cd ~opentx/release/
cd ~opentx/release-20/
# release all components
./release-companion.sh

View file

@ -4,7 +4,7 @@
set -e
# make sure we are in the good directory
cd ~opentx/release/
cd ~opentx/release-20/
# pull the latest changes
./update-repo.sh
@ -15,17 +15,21 @@ line=`grep "VERSION = " Makefile`
version=`expr "$line" : 'VERSION = \([0-9]\..*\)'`
# create companion rpm
cd ~opentx/release/companion-build/
rm -rf ~opentx/release-20/companion-build/
mkdir -p $_
cd $_
cmake ../opentx/companion/src
make package
cp ./companion-$version-i686.rpm /var/www/html/downloads-20/companion/
make stamp
chmod -Rf g+w . || true
# request companion compilation on Windows
cd /var/www/html/downloads-20/companion/
wget -qO- http://winbox.open-tx.org/companion-builds/compile.php?branch=2.0
wget -qO- http://winbox.open-tx.org/companion-builds/compile20.php?branch=2.0
wget -O companionInstall_$version.exe http://winbox.open-tx.org/companion-builds/companionInstall_$version.exe
mv ~opentx/release/opentx/companion/companion.stamp ./companion-windows.stamp
mv ~opentx/release-20/opentx/companion/companion.stamp ./companion-windows.stamp
chmod -Rf g+w . || true

View file

@ -4,7 +4,7 @@
set -e
# make sure we are in the good directory
cd ~opentx/release/
cd ~opentx/release-20/
# pull the latest changes
./update-repo.sh
@ -20,7 +20,7 @@ cd ../../..
tar czf ./opentx.tgz opentx/radio/src opentx/radio/util
# copy the stamp and the release-notes to the http server
cd ~opentx/release/
cd ~opentx/release-20/
cp opentx/radio/src/stamp-opentx.txt /var/www/html/downloads-20/firmware/
cp opentx/radio/releasenotes.txt /var/www/html/downloads-20/firmware/
cp opentx/radio/src/lua_fields.txt /var/www/html/downloads-20/firmware/

View file

@ -4,7 +4,7 @@
set -e
# make sure we are in the good directory
cd ~opentx/release/
cd ~opentx/release-20/
# pull the latest changes
./update-repo.sh

View file

@ -4,7 +4,7 @@
set -e
# make sure we are in the good directory
cd ~opentx/release/
cd ~opentx/release-20/
# pull the latest changes
cd opentx

View file

@ -28,7 +28,7 @@ chmod -Rf g+w . || true
# request companion compilation on Windows
cd /var/www/html/downloads-$version/companion/
wget -qO- http://winbox.open-tx.org/companion-builds/compile.php?branch=$branch
wget -qO- http://winbox.open-tx.org/companion-builds/compile21.php?branch=$branch
wget -O companion-windows-$release.exe http://winbox.open-tx.org/companion-builds/companion-windows-$release.exe
mv ~opentx/release-$version/opentx/companion/companion.stamp ./companion-windows.stamp