AV
Size: a a a
AV
MB
MB
video_rawdata = pydriver.stop_recording_screen()
video_name = name + time.strftime('%Y_%m_%d_%H%M%S')
filepath = os.path.join('/Users/user
/PycharmProjects/appium/Tests/test_records', video_name + '.mp4')
with open(filepath, 'wb') as vd:
vd.write(base64.b64decode(video_rawdata))
А
o
AG
python -m http.server 8000
АК
ab
EXIT_CODE==$?написать
export EXIT_CODE==$?но это не точно
ab
job:
script:
- false && true; exit_code=$?
- if [ $exit_code -ne 0 ]; then echo "Previous command failed"; fi;
ab
cleanup_build_job:
stage: cleanup_build
script:
- cleanup build when failed
when: on_failure
АК
ab
python test_out.py >myoutput.log
job:
artifacts:
when: on_failure
cleanup_build_job:
stage: cleanup_build
script:
- cleanup build when failed
when: on_failure
ab
АК
АК
АК
ab
АК
script:
- echo "1" > exit_code.txt
after_script:
- EXIT_CODE=$(cat exit_code.txt)
KS
AP