This commit is contained in:
wangyan 2017-08-30 12:33:55 +08:00
parent 1a71b13591
commit e4b2ecb409
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ echo $rc
timestamp=$(date +%s) timestamp=$(date +%s)
outfile="integration_logs_"$DRONE_BUILD_NUMBER"_"$DRONE_COMMIT".zip" outfile="integration_logs_"$DRONE_BUILD_NUMBER"_"$DRONE_COMMIT".zip"
zip -9 $outfile output.xml log.html *.png package.list *container-logs.zip *.log /var/log/harbor/*/*.log /data/config/* zip -9 $outfile output.xml log.html *.png package.list *container-logs.zip *.log /var/log/harbor/*/*.log /data/config/* /data/job_logs/*
if [ -f "$outfile" ]; then if [ -f "$outfile" ]; then
gsutil cp $outfile gs://harbor-ci-logs gsutil cp $outfile gs://harbor-ci-logs
echo "----------------------------------------------" echo "----------------------------------------------"

View File

@ -36,7 +36,7 @@ Create An New Rule With New Endpoint
Input text xpath=${destination_username_xpath} ${destination_username} Input text xpath=${destination_username_xpath} ${destination_username}
Input text xpath=${destination_password_xpath} ${destination_password} Input text xpath=${destination_password_xpath} ${destination_password}
Click element xpath=${replicaton_save_xpath} Click element xpath=${replicaton_save_xpath}
Sleep 2 Sleep 5
Capture Page Screenshot rule_${policy_name}.png Capture Page Screenshot rule_${policy_name}.png
Wait Until Page Contains ${policy_name} Wait Until Page Contains ${policy_name}
Wait Until Page Contains ${policy_description} Wait Until Page Contains ${policy_description}