Skip to content

Does not work with Jenkins #389

@firatakandere

Description

@firatakandere

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

Output of node -v && npm -v && npm ls --prod --depth=0 (from Jenkins)

+ node -v
v9.8.0
+ npm -v
5.6.0
+ npm ls --prod --depth=0
/Users/[username]/.jenkins/workspace/test

I have following issue:

I have Jenkins installed on my old Mac to automate the building process. I can successfully compile the project through its command line. But when I run the the compilation through Jenkins, I get the error on Build Phase:

Actual result:

❌  error: Can't find '/Users/[username]/.jenkins/workspace/[project path]/node_modules/@sentry/cli/sentry-cli' binary to build React Native bundle

PS:

  • The file is actually there, if I create a Jenkins task that calls this file, the Jenkins can call it, and sentry-cli returns the help text. Therefore I don't think there's a permission issue between Jenkins and sentry-cli file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions