My problem:
My circle.yml file is set up to upload the protractor report, but lately I’m getting the message: _We didn’t find any build artifacts for this build. You can upload build artifacts by moving files to the $CIRCLE_ARTIFACTS directory.
My tests are passing normally, the only problem is when it comes to generating the artifact. It’s strange because in other projects I use exactly the same configuration of circle.yml and the report is generated normally
My stack:
I’m using Protractor and to generate reports I’m using protractor-jasmine2-html-reporter
My circle.yml:
general:
artifacts:
- "test_evidences"
general:
branches:
only:
- development
machine:
node:
version: 6.10.3
dependencies:
pre:
- curl -L -o google-chrome.deb https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
- sudo dpkg -i google-chrome.deb
- sudo sed -i 's|HERE/chrome\"|HERE/chrome\" --disable-setuid-sandbox|g' /opt/google/chrome/google-chrome
- rm google-chrome.deb
- npm install
override:
- node_modules/.bin/webdriver-manager update
test:
override:
- node_modules/.bin/protractor conf.js
- sed -i -- 's,//,/,g' test_evidences/htmlReport.html
Errors screenshots
How can I fix this?