Skip to content

Commit

Permalink
Use Gradle Nexus Publish Plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp94831 committed Feb 26, 2024
1 parent 95cc940 commit 3e667a9
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,13 @@ internal class SonatypePluginIT {
.willReturn(okJson("{}")))
wiremock.stubFor(get(urlMatching("/staging/repository/$STAGING_ID"))
.willReturn(okJson("""{"repositoryId": "$STAGING_ID", "type": "closed", "transitioning": false}""")))
wiremock.stubFor(post(urlMatching("/staging/bulk/promote"))
.inScenario("promoting").whenScenarioStateIs(STARTED)
.willReturn(okJson("{}"))
.willSetStateTo("promoting"))
wiremock.stubFor(get(urlMatching("/staging/repository/$STAGING_ID"))
.inScenario("promoting").whenScenarioStateIs("promoting")
.willReturn(okJson("""{"repositoryId": "$STAGING_ID", "type": "released", "transitioning": false}""")))
}

@Disabled
Expand Down

0 comments on commit 3e667a9

Please sign in to comment.