Skip to content

Commit

Permalink
Merge pull request #4 from ewhoch/push-nightly-from-release
Browse files Browse the repository at this point in the history
Fix logic in where builds push to DHE
  • Loading branch information
cbridgha authored Sep 18, 2017
2 parents 0212db9 + 4bd90e6 commit f719828
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions dev/build.image/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ remotes {
file("${rootDir}/generated.properties").withInputStream { props.load(it) }

host = props.getProperty("dhe.server")
user = props.getProperty("intranet.user")
password = props.getProperty("intranet.password")
user = props.getProperty("dhe.user")
password = props.getProperty("dhe.password")
knownHosts = allowAnyHosts
}
}
Expand All @@ -202,15 +202,13 @@ task publishPublicArtifactsOnDhe {
String version = "${yr}-${mo}-${d}_${t}"
String packageName = null
if (isRelease) {
packageName = props.getProperty("published.package.release")
} else if (isContinuousBuild) {
packageName = props.getProperty("published.package.nightly")
} else {
packageName = props.getProperty("published.package.personal")
version = props.getProperty("buildResultUUID")
}

String userAtHost = props.getProperty("intranet.user") + "@" + props.getProperty("dhe.server")
String userAtHost = props.getProperty("dhe.user") + "@" + props.getProperty("dhe.server")
String dir = "/www/stage/export/pub/software/openliberty/runtime"
String publicDHEUrl = "http://public.dhe.ibm.com/ibmdl/export/pub/software/openliberty/runtime"
String dest = userAtHost + ":" + dir
Expand Down

0 comments on commit f719828

Please sign in to comment.