]> piware.de Git - bin.git/commitdiff
retry-gh-systemd-test: Allow specifying release as third argument
authorMartin Pitt <martin@piware.de>
Fri, 3 Feb 2017 09:05:30 +0000 (10:05 +0100)
committerMartin Pitt <martin@piware.de>
Fri, 3 Feb 2017 09:05:30 +0000 (10:05 +0100)
retry-gh-systemd-test

index 4e2920fc49c583adcb40ccf1d5da587f02c91848..99e7459401336079b845e2e2641b34c7a3c242dc 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/sh -e
 [ -n "$2" ] || { echo "Usage: $0 <PR> <arch>" >&2; exit 1; }
 
-~/ubuntu/autopkgtest-cloud/tools/retry-github-test https://api.github.com/repos/systemd/systemd/pulls/$1 'https://autopkgtest.ubuntu.com/request.cgi?release=xenial&arch='$2'&build-git=https%3A%2F%2Fgit.launchpad.net%2F~pitti%2Fsystemd%2F%2Bgit%2Fdebian&env=CFLAGS%3D-O0%3BDEB_BUILD_PROFILES%3Dnoudeb%3BTEST_UPSTREAM%3D1&package=systemd-upstream&ppa=pitti%2Fsystemd-semaphore' ~/archiv/github-secret-systemd.txt
+~/ubuntu/autopkgtest-cloud/tools/retry-github-test https://api.github.com/repos/systemd/systemd/pulls/$1 'https://autopkgtest.ubuntu.com/request.cgi?release='${3:-xenial}'&arch='$2'&build-git=https%3A%2F%2Fgit.launchpad.net%2F~pitti%2Fsystemd%2F%2Bgit%2Fdebian&env=CFLAGS%3D-O0%3BDEB_BUILD_PROFILES%3Dnoudeb%3BTEST_UPSTREAM%3D1&package=systemd-upstream&ppa=pitti%2Fsystemd-semaphore' ~/archiv/github-secret-systemd.txt