Merge branch '12431-nm-delete-nic' refs #12431
[arvados.git] / build / run-build-test-packages-one-target.sh
index da2bb05b0977c720c7b8181d7752d19c79d20b84..24942e96393e47a8aa4a9529385d1566baa21162 100755 (executable)
@@ -1,4 +1,7 @@
 #!/bin/bash
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
 
 read -rd "\000" helpmessage <<EOF
 $(basename $0): Build, test and (optionally) upload packages for one target
@@ -7,7 +10,7 @@ Syntax:
         WORKSPACE=/path/to/arvados $(basename $0) [options]
 
 --target <target>
-    Distribution to build packages for (default: debian7)
+    Distribution to build packages for (default: debian8)
 --upload
     If the build and test steps are successful, upload the packages
     to a remote apt repository (default: false)
@@ -39,7 +42,7 @@ if [ $? -ne 0 ]; then
     exit 1
 fi
 
-TARGET=debian7
+TARGET=debian8
 UPLOAD=0
 
 eval set -- "$PARSEDOPTS"
@@ -72,6 +75,7 @@ exit_cleanly() {
     exit ${#failures}
 }
 
+COLUMNS=80
 . $WORKSPACE/build/run-library.sh
 
 title "Start build packages"
@@ -82,8 +86,6 @@ $WORKSPACE/build/run-build-packages-one-target.sh --target $TARGET
 checkexit $? "build packages"
 title "End of build packages (`timer`)"
 
-#/usr/bin/sudo chown jenkins:jenkins $WORKSPACE/packages -R
-
 title "Start test packages"
 timer_reset