[zorg] r185871 - Update flags used by curl to cause build step to fail when server issues errors such as 404.
David Dean
david_dean at apple.com
Mon Jul 8 14:31:17 PDT 2013
Author: ddean
Date: Mon Jul 8 16:31:16 2013
New Revision: 185871
URL: http://llvm.org/viewvc/llvm-project?rev=185871&view=rev
Log:
Update flags used by curl to cause build step to fail when server issues errors such as 404.
Modified:
zorg/trunk/zorg/buildbot/Artifacts.py
zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
Modified: zorg/trunk/zorg/buildbot/Artifacts.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/Artifacts.py?rev=185871&r1=185870&r2=185871&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/Artifacts.py (original)
+++ zorg/trunk/zorg/buildbot/Artifacts.py Mon Jul 8 16:31:16 2013
@@ -15,7 +15,7 @@ master_protocol = 'http'
base_download_url = 'http://%s/~%s/artifacts' % (master_name, rsync_user)
package_url = 'http://%s/~%s/packages' % (master_name, rsync_user)
base_rsync_path = '%s@%s:~/artifacts' % (rsync_user , master_name)
-curl_flags = '-svLo'
+curl_flags = '-fvLo'
is_production = set_config_option('Master Options', 'is_production')
if is_production:
@@ -33,7 +33,7 @@ if is_production:
'%s@%s:~/artifacts' %
(rsync_user , master_name))
curl_flags = set_config_option('Master Options', 'curl_flags',
- '-svLo')
+ '-fvLo')
# This method is used in determining the name of a given compiler archive
def _determine_compiler_kind(props):
@@ -192,7 +192,7 @@ def GetCompilerArtifacts(f):
workdir=WithProperties('%(builddir)s')))
f.addStep(buildbot.steps.shell.ShellCommand(
name='download.artifacts',
- command=['curl', '-svo', 'host-compiler.tar.gz',
+ command=['curl', '-fvLo'', 'host-compiler.tar.gz',
WithProperties('%(get_curl)s', get_curl=determine_url)],
haltOnFailure=True, description=['download build artifacts'],
workdir=WithProperties('%(builddir)s')))
Modified: zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py?rev=185871&r1=185870&r2=185871&view=diff
==============================================================================
--- zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py (original)
+++ zorg/trunk/zorg/buildbot/PhasedBuilderUtils.py Mon Jul 8 16:31:16 2013
@@ -124,7 +124,7 @@ def GetLatestValidated(f):
latest_url += '/latest_validated/clang-x86_64-darwin11-R.tar.gz'
f.addStep(buildbot.steps.shell.ShellCommand(
name='download.artifacts',
- command=['curl', '-svLo', 'host-compiler.tar.gz', latest_url],
+ command=['curl', '-fvLo', 'host-compiler.tar.gz', latest_url],
haltOnFailure=True, description=['download build artifacts'],
workdir=WithProperties('%(builddir)s')))
f.addStep(buildbot.steps.shell.ShellCommand(
More information about the llvm-commits
mailing list