mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
CI: Not showing stdout nor stderr when checkout ref
This commit is contained in:
@@ -68,7 +68,7 @@ if __name__ == "__main__":
|
|||||||
|
|
||||||
for candidate in candidate_branches:
|
for candidate in candidate_branches:
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(["git", "checkout", candidate])
|
subprocess.check_call(["git", "checkout", candidate], stdout=subprocess.PIPE, stderr=subprocess.PIPE) # not print the stdout nor stderr
|
||||||
print("CI using ref {} for project {}".format(candidate, args.project))
|
print("CI using ref {} for project {}".format(candidate, args.project))
|
||||||
break
|
break
|
||||||
except subprocess.CalledProcessError:
|
except subprocess.CalledProcessError:
|
||||||
|
Reference in New Issue
Block a user