sonatype-nexus-community/scan-gradle-plugin

[FEATURE] Release task is including unit and integration tests

guillermo-varela opened this issue · 1 comments

  • What are you trying to do?
    The "do-release" task in CircleCI is supposed to run the release task skipping tests:
    ./gradlew clean release -Dorg.gradle.daemon=false --stacktrace -x test -x integrationTest

Checking the logs, tests are being run:

> Task :project:project:test
> Task :project:project:compileIntegrationTestJava
> Task :project:project:processIntegrationTestResources
> Task :project:project:integrationTestClasses
> Task :project:project:it1
> Task :project:project:it2
> Task :project:project:it3
> Task :project:project:it4
> Task :project:project:it5
> Task :project:project:it6
> Task :project:project:it7
> Task :project:project:integrationTest
> Task :project:project:validatePlugins
> Task :project:project:check
> Task :project:project:build
  • What feature or behavior is this required for?
    Having a faster release.

  • How could we solve this issue? (Not knowing is okay!)
    Check which task has both unit and integration tests as dependencies.

cc @bhamail / @DarthHater / @guillermo-varela / @shaikhu

No longer an issue after #115