Centralize the creation of this file in one place so that other scripts
do not have to remember to write it when they want to post updates to
shaman.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>
"sha1":"$SHA1",
"flavor":"$FLAVOR"
}
+EOF
+
+ # these variables are saved in this jenkins
+ # properties file so that other scripts
+ # in the same job can inject them
+ cat > $WORKSPACE/build_info << EOF
+NORMAL_DISTRO=$distro
+NORMAL_DISTRO_VERSION=$distro_version
+NORMAL_ARCH=$distro_arch
+SHA1=$SHA1
EOF
SHAMAN_URL="https://shaman.ceph.com/api/builds/$project/"