You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the line above, it seems that Percy is resorting to the PR builder plugin branch, however on master builds on Jenkins, the branch becomes HEAD.
I've found GIT_BRANCH to work better, however, that has an issue that it reports origin/master and Percy uses master for baseline snapshots. I couldn't find anywhere to change the baseline branch so I ended up writing this script:
percy-js/src/environment.js
Line 160 in ed3d495
Looking at the line above, it seems that Percy is resorting to the PR builder plugin branch, however on master builds on Jenkins, the branch becomes HEAD.
I've found GIT_BRANCH to work better, however, that has an issue that it reports
origin/master
and Percy usesmaster
for baseline snapshots. I couldn't find anywhere to change the baseline branch so I ended up writing this script:which I now use to run from NPM. Works for now, but would be awesome if Percy did the smart work.
The text was updated successfully, but these errors were encountered: