pipeline build error

Hi, i have a problem when i pushed a new commit to my code base, this problem only occurs today, although there's no any new code entered on the silver, 

the silver code was built correctly on last thursday, but when i attempt to push a commit today i got a problem with the pipeline, it cannot execute the tests,

 

here's the logs i got:

11:04:56
11:04:56 Error: /var/lib/jenkins/workspace/Test Environment - With company/users/active/ActiveUsersCustomMethod.js: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
11:04:56 at NodePath.insertBefore (/var/lib/jenkins/workspace/Test Environment - With propera/node_modules/babel-traverse/lib/path/modification.js:61:13)
11:04:56 at VisitState.insertCounter (/var/lib/jenkins/workspace/Test Environment - With propera/node_modules/istanbul-lib-instrument/dist/visitor.js:197:22)
11:04:56 at VisitState.insertStatementCounter (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:224:18)
11:04:56 at VisitState.coverStatement (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:340:10)
11:04:56 at /var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:327:15
11:04:56 at Array.forEach (native)
11:04:56 at VisitState.wrappedEntry (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/istanbul-lib-instrument/dist/visitor.js:326:15)
11:04:56 at NodePath._call (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/babel-traverse/lib/path/context.js:76:18)
11:04:56 at NodePath.call (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/babel-traverse/lib/path/context.js:48:17)
11:04:56 at NodePath.visit (/var/lib/jenkins/workspace/Test Environment - With Propera/propera/node_modules/babel-traverse/lib/path/context.js:105:12)


pipeline file

 

image: node:6
pipelines: default: - step: caches: - node script: # Modify the commands below to build your repository. # Grant access to freightos module - echo "//registry.npmjs.org/:_authToken=""$NPM_TOKEN" >> .npmrc - echo "registry=https://registry.npmjs.org" >> .npmrc # Install dependecies - npm install # Run Unit test - npm test # Run propera code - npm run production -- --outputPath ./

 

0 answers

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 06, 2018 in Bitbucket

Do you use Bitbucket Cloud and Jira Cloud? If so, let us know!

Hi Community, I'm Julia and I'm on the Jira Software Cloud marketing team!  We're looking for companies or teams using Bitbucket Cloud and Jira Software Cloud. If your team fits the t...

151 views 6 3
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