Hi,
This is a small update on some changes I have made on our continuous
integration tool Jenkins that is hosted here:
http://gimptest.flamingtext.com:8080/
With the addition of nightly tarball builds of feature branches, in
particular for some of our GSoC projects, there is a new naming
convention for jobs:
<project>-<jobtype>-<branch>
Examples:
* The name of the distcheck job for the master branch of babl is
'babl-distcheck-master'
* The name of the distcheck job for the soc-2011-gimpunitentry branch
of GIMP is 'gimp-distcheck-soc-2011-gimpunitentry'
Also, I have stopped using the GNOME Project Builder plug-in for all
our jobs and started using plain shell commands instead. This makes
job configuration more straightforward and adaptable. For reference, I
have included the commands used to build and publish the nightly GIMP
git master tarball at the bottom of the mail.
/ Martin
#
# Constants for this build
#
PREFIX="$HOME/prefix/babl-gegl-gimp"
TARBALL_NAME="gimp-git-master.tar.bz2"
#
# Clean up distdir from previously failed distchecks to prevent make
# check from being confused
#
package="`grep '^PACKAGE = ' Makefile | awk '{print$3}'`"
version="`grep '^VERSION = ' Makefile | awk '{print$3}'`"
distdir="${package}-${version}"
test ! -d "$distdir" || \
{ find "$distdir" -type d ! -perm -200 -exec chmod u+w {} ';' && \
rm -fr "$distdir"; }
#
# Build
#
./autogen.sh --prefix=${PREFIX} --enable-gtk-doc
make
make check
make install
make distcheck
#
# Rename built tarball so it always have the same name
#
ls -1t *.tar.* | head -n 1 | xargs -I fff mv fff ${TARBALL_NAME}
#
# Publish to ftp
#
cp ${TARBALL_NAME} /var/ftp/pub/nightly-tarballs
--
My GIMP Blog:
http://www.chromecode.com/
"GIMP 2.8 schedule on tasktaste.com"
_______________________________________________
Gimp-developer mailing list
[email protected]
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer