Pipeline for Polymer Tests fails during bower install Edited

I´m trying to create a pipline to run my Tests for a Polymer Web Component, but it fails when trying to run bower install with a Permission denied error:

bower moment#^2.18.1 install moment#2.18.1
bower prism#* install prism#1.8.1
bower EACCES EACCES: permission denied, mkdir '/opt/atlassian/pipelines/agent/iron-grid'
Stack trace:
FSReqWrap.oncomplete (fs.js:123:15)
Console trace:
Error at StandardRenderer.error (/usr/lib/node_modules/bower/lib/renderers/StandardRenderer.js:81:37)
at Logger.<anonymous> (/usr/lib/node_modules/bower/lib/bin/bower.js:110:26) at emitOne (events.js:96:13)
at Logger.emit (events.js:188:7) at Logger.emit (/usr/lib/node_modules/bower/lib/node_modules/bower-logger/lib/Logger.js:29:39)
at /usr/lib/node_modules/bower/lib/commands/index.js:48:20 at _rejected (/usr/lib/node_modules/bower/lib/node_modules/q/q.js:844:24)
at /usr/lib/node_modules/bower/lib/node_modules/q/q.js:870:30 at Promise.when (/usr/lib/node_modules/bower/lib/node_modules/q/q.js:1122:31)
at Promise.promise.promiseDispatch (/usr/lib/node_modules/bower/lib/node_modules/q/q.js:788:41)
System info:
Bower version: 1.8.0
Node version: 6.11.1
OS: Linux 4.12.10-coreos x64

My Pipeline configuration:

image: pascallaier/web-component-tester

    - step:
          - bower
          - bower install --allow-root
          - xvfb-run polymer test

    bower: bower_components


0 answers

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Aug 10, 2018 in Bitbucket

What is your #1 piece of advice to new users getting started using Bitbucket?

Hello Community! My name is Claire Maynard, and I’m a Product Marketing Manager on the Bitbucket team. I’m interested in hearing what advice or tips you have for new users getting started on ...

251 views 14 2
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you