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
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

2,367 views 9 12
Read article

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