]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fixup! liveboot: report build status to testlink testcase
authorFabian Holler <fabian.holler@profitbricks.com>
Tue, 30 Apr 2013 11:27:51 +0000 (13:27 +0200)
committerFabian Holler <fabian.holler@profitbricks.com>
Tue, 30 Apr 2013 11:27:51 +0000 (13:27 +0200)
liveboot_build.sh

index 68cacab6baa9747659e1932f4fe7b62f46a42240..28591fa0c0018ac6389de046d021242dcb3c808b 100755 (executable)
@@ -6,7 +6,7 @@
 set_failure() {
        BUILD_END=$(date +%s)
        $SCRIPTSDIR/liveboot2db.py $JOB_NAME $BUILD_NUMBER $REQUEST_ID $BUILD_START $BUILD_END "failed"
-    build_name=$(basename $(readlink -f/srv/build/liveboot/builds/last))
+    build_name=$(basename $(readlink -f /srv/build/liveboot/builds/last))
     $SCRIPTSDIR/liveboot_testlink_update_testcase.py "$build_name" "failed"
        # cleanup mount points
        cd /var/cache/pbuilder/build
@@ -67,7 +67,7 @@ rm $BUILD_SCRIPT ${BUILD_SCRIPT}_sudo
 #
 # report build status to testlink testcase
 #
-build_name=$(basename $(readlink -f/srv/build/liveboot/builds/last))
+build_name=$(basename $(readlink -f /srv/build/liveboot/builds/last))
 $SCRIPTSDIR/liveboot_testlink_update_testcase.py "$build_name" "successful"
 
 #