Skip to content

Commit

Permalink
[#76] Minor code improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
szpak committed Jan 2, 2019
1 parent df4ee71 commit ada46a6
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,10 @@ import groovy.transform.InheritConstructors
import groovy.util.logging.Slf4j
import io.codearte.gradle.nexus.infra.SimplifiedHttpJsonRestClient

//@InheritConstructors //TODO: Why broken???
@InheritConstructors
@Slf4j
class RepositoryCreator extends BaseOperationExecutor {

RepositoryCreator(SimplifiedHttpJsonRestClient client, String nexusUrl) {
super(client, nexusUrl)
}

String createStagingRepositoryAndReturnId(String stagingProfileId) {
log.info("Creating staging repository for staging profile '$stagingProfileId'")
Map responseAsMap = client.post(nexusUrl + "/staging/profiles/${stagingProfileId}/start",
Expand Down

0 comments on commit ada46a6

Please sign in to comment.