MCPcopy Create free account
hub / github.com/apache/solr / readConfig

Function readConfig

dev-tools/scripts/reproduceJenkinsFailures.py:73–82  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71defaultIters = 5
72
73def readConfig():
74 parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
75 description=description)
76 parser.add_argument('url', metavar='URL',
77 help='Points to the Jenkins log to parse')
78 parser.add_argument('--no-git', dest='useGit', action='store_false', default=True,
79 help='Do not run "git" at all')
80 parser.add_argument('--iters', dest='testIters', type=int, default=defaultIters, metavar='N',
81 help='Number of iterations per test suite (default: %d)' % defaultIters)
82 return parser.parse_args()
83
84def runOutput(cmd):
85 print('[repro] %s' % cmd)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…