Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task :test_runner:resolveArtifacts is failing on feature branches #1231

Closed
jan-goral opened this issue Oct 12, 2020 · 0 comments · Fixed by #1232
Closed

Task :test_runner:resolveArtifacts is failing on feature branches #1231

jan-goral opened this issue Oct 12, 2020 · 0 comments · Fixed by #1232
Assignees

Comments

@jan-goral
Copy link
Contributor

jan-goral commented Oct 12, 2020

Describe the bug

Task :test_runner:resolveArtifacts fails when is running from feature branch

To Reproduce

Steps to reproduce the behavior:

  1. Create a new branch
  2. Run ./gradlew clean test
  3. See error:
Exception in thread "main" java.lang.Exception: Cannot resolve test artifacts
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.resolveLocallyOrThrow(ResolveArtifacts.kt:37)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.access$resolveLocallyOrThrow(ResolveArtifacts.kt:1)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt$tryResolveForMaster$1.invoke(ResolveArtifacts.kt:31)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt$tryResolveForMaster$1.invoke(ResolveArtifacts.kt)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.resolveRemotelyOrFallback(ResolveArtifacts.kt:18)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.tryResolveForMaster(ResolveArtifacts.kt:29)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.resolveFallback(ResolveArtifacts.kt:24)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.access$resolveFallback(ResolveArtifacts.kt:1)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt$resolveArtifacts$1.invoke(ResolveArtifacts.kt:9)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt$resolveArtifacts$1.invoke(ResolveArtifacts.kt)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.resolveRemotelyOrFallback(ResolveArtifacts.kt:18)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.resolveArtifacts(ResolveArtifacts.kt:7)
        at flank.scripts.testartifacts.core.ResolveArtifactsKt.resolveArtifacts$default(ResolveArtifacts.kt:6)
        at flank.scripts.testartifacts.ResolveCommand.run(TestArtifacts.kt:142)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:170)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:179)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:179)
        at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:16)
        at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:258)
        at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:255)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:273)
        at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:298)
        at flank.scripts.MainKt.main(Main.kt:21)

Expected behavior

The script should reslove artifacts instead of failing

Details

commit: 5bd25c9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant