Merge pull request #3132 from wy65701436/update-drone

add job logs for CI
This commit is contained in:
Daniel Jiang 2017-08-30 13:28:31 +08:00 committed by GitHub
commit 6e6bb80b87
2 changed files with 2 additions and 2 deletions

View File

@ -75,7 +75,7 @@ echo $rc
timestamp=$(date +%s)
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
gsutil cp $outfile gs://harbor-ci-logs
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_password_xpath} ${destination_password}
Click element xpath=${replicaton_save_xpath}
Sleep 2
Sleep 5
Capture Page Screenshot rule_${policy_name}.png
Wait Until Page Contains ${policy_name}
Wait Until Page Contains ${policy_description}