Skip to content

Commit

Permalink
Adjusted build scripts for insecure internal repo
Browse files Browse the repository at this point in the history
  • Loading branch information
bczoma authored Sep 13, 2022
1 parent 889afa5 commit 6edb6b9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,10 @@ publishing {
}
repositories {
maven {
def releasesUrl = uri('https://apps-jenkins:9090/nexus/content/repositories/releases')
def snapshotRepositoryUrl = uri('https://apps-jenkins:9090/nexus/content/repositories/snapshots')
def releasesUrl = uri('http://apps-jenkins:9090/nexus/content/repositories/releases')
def snapshotRepositoryUrl = uri('http://apps-jenkins:9090/nexus/content/repositories/snapshots')
url = isSnapshot ? snapshotRepositoryUrl : releasesUrl
allowInsecureProtocol = true;
name = 'internal'
credentials {
username = project.properties[name + "Username"]
Expand Down

0 comments on commit 6edb6b9

Please sign in to comment.