Skip to content

Commit

Permalink
Comment screenshots link of failed tests directly
Browse files Browse the repository at this point in the history
  • Loading branch information
Talank committed Mar 15, 2022
1 parent f85f534 commit c7f890d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/gui/drone/comment.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,9 @@ else

if ! [[ $(find $1/screenshots -maxdepth 0 -empty) ]]; then
echo "creating comment for screenshots"
echo $(ls $1/screenshots)
echo "Screenshots: (${CACHE_ENDPOINT}/${CACHE_BUCKET}/$2/$3/guiReportUpload/screenshots)" >> $1/comments.file
echo "Screenshots:" >> $1/comments.file
for i in $(ls $1/screenshots); do
echo "- (${CACHE_ENDPOINT}/${CACHE_BUCKET}/$2/$3/guiReportUpload/screenshots/$i)" >> $1/comments.file
done
fi
fi

0 comments on commit c7f890d

Please sign in to comment.