Skip to content

No [task]_SentryUpload running in build process #815

@nguyenhose

Description

@nguyenhose

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android

SDK:

  • @sentry/react-native
  • react-native-sentry

SDK version: 1.3.6
react-native version: 0.60.3

Are you using Expo?

  • Yes
  • No

Are you using sentry.io or on-premise?

  • sentry.io (SaaS)
  • on-premise

Configuration:

Sentry.init({
  dsn: 'https://...@sentry.io/...'
});

task: MyEnvRelease_SentryUpload wasn't running in my build process. I debugged Sentry.gradle and it go successfully this line with correct arguments.

commandLine(*osCompatibility, *args)

Steps to reproduce:

  • Using flavor to build a release ( ex: ./gradlew assembleBetaRelease)

Actual result:

  • Build Success, no error was prompted
  • Sourcemaps was built but no [task]_SentryUpload running in terminal

Expected result:
[task]_SentryUpload should be run and upload sourcemaps to sentry

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions