echo Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacra_endpoint}
# update shaman with the completed build status
+SHA1=${GIT_COMMIT}
update_build_status "completed" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
sudo rm -rf $WORKSPACE/dist
echo "Building RPMs"
sudo mock -r nfs-ganesha.cfg --define "dist .el7" --resultdir=$WORKSPACE/dist/RPMS/ ${SRPM} || ( tail -n +1 $WORKSPACE/dist/RPMS/{root,build}.log && exit 1 )
-VERSION=`grep -om 1 "[0-9]\.[0-9]-dev-[0-9]" $WORKSPACE/nfs-ganesha/src/build/include/config.h`
+VERSION=`grep -om 1 "[0-9]\.[0-9]-dev-[0-9]" $WORKSPACE/nfs-ganesha/build/include/config.h`
chacra_endpoint="nfs-ganesha/${NFS_GANESHA_BRANCH}/${GIT_COMMIT}/${DISTRO}/${RELEASE}"
RPM_RELEASE=`grep Release $WORKSPACE/nfs-ganesha/src/nfs-ganesha.spec | sed 's/Release:[ \t]*//g' | cut -d '%' -f 1`
RPM_VERSION=`grep Version $WORKSPACE/nfs-ganesha/src/nfs-ganesha.spec | sed 's/Version:[ \t]*//g'`
echo Check the status of the repo at: https://shaman.ceph.com/api/repos/${chacra_endpoint}
# update shaman with the completed build status
+SHA1=${GIT_COMMIT}
update_build_status "completed" "nfs-ganesha" $NORMAL_DISTRO $NORMAL_DISTRO_VERSION $NORMAL_ARCH
sudo rm -rf $WORKSPACE/dist
description: "The git branch (or tag) to build"
default: "next"
+ - string:
+ name: BRANCH
+ description: "The git branch that will be posted to shaman"
+ default: $NFS_GANESHA_BRANCH
+
- string:
name: CEPH_SHA1
description: "The SHA1 of the ceph branch"