]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
prscript: display url where user can watch build
authorEric Leblond <eric@regit.org>
Wed, 11 Sep 2013 08:35:52 +0000 (10:35 +0200)
committerEric Leblond <eric@regit.org>
Wed, 25 Sep 2013 19:00:53 +0000 (21:00 +0200)
qa/prscript.py

index 55466f9ddd8a4b4bd680e55d055ac8b43f0b68f3..594d579d3448dd423055e486977e84341936249e 100755 (executable)
@@ -113,7 +113,6 @@ if not args.check:
     if res == -1:
         print "Unable to start build. Check command line parameters"
         sys.exit(-1)
-    print "Waiting for test completion"
 
 # get build number and exit if we don't have
 buildid = FindBuild(args.branch)
@@ -123,8 +122,10 @@ if buildid == -1:
 if buildid == -2:
     print "No build found for " + BUILDERS_URI + username
     sys.exit(0)
-# fetch result every 10 secs till task is over
+print "You can watch build progress at " + BUILDERS_URI + username + "/builds/" + str(buildid)
+print "Waiting for build completion"
 
+# fetch result every 10 secs till task is over
 res = 1
 while res == 1:
     res = GetBuildStatus(username,buildid)