diff --git a/.github/workflows/halyard-oes-branch.yml b/.github/workflows/halyard-oes-branch.yml index 5e6ccfc60..125f13809 100644 --- a/.github/workflows/halyard-oes-branch.yml +++ b/.github/workflows/halyard-oes-branch.yml @@ -61,10 +61,12 @@ jobs: env: ORG_GRADLE_PROJECT_version: ${{ steps.build_variables.outputs.VERSION }} run: | + sed -e 's/NEXUS_URL/${{ secrets.NEXUS_URL }}/' -i settings.gradle sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i settings.gradle sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i settings.gradle sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i build.gradle sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i build.gradle + sed -e 's/NEXUS_URL/${{ secrets.NEXUS_URL }}/' -i build.gradle ./gradlew --no-daemon -PenableCrossCompilerPlugin=true halyard-web:installDist -x test diff --git a/.github/workflows/halyard-oes.yml b/.github/workflows/halyard-oes.yml index 0457a924c..3f174ba03 100644 --- a/.github/workflows/halyard-oes.yml +++ b/.github/workflows/halyard-oes.yml @@ -46,10 +46,12 @@ jobs: env: ORG_GRADLE_PROJECT_version: ${{ steps.build_variables.outputs.VERSION }} run: | - sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i settings.gradle - sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i settings.gradle - sed -e 's/NEXUS_USERNAME/${{ secrets.NEXUS_USERNAME }}/' -i build.gradle - sed -e 's/NEXUS_PASSWORD/${{ secrets.NEXUS_PASSWORD }}/' -i build.gradle + sed -e 's|NEXUS_USERNAME|${{ secrets.NEXUS_USERNAME }}|' -i settings.gradle + sed -e 's|NEXUS_PASSWORD|${{ secrets.NEXUS_PASSWORD }}|' -i settings.gradle + sed -e 's|NEXUS_USERNAME|${{ secrets.NEXUS_USERNAME }}|' -i build.gradle + sed -e 's|NEXUS_PASSWORD|${{ secrets.NEXUS_PASSWORD }}|' -i build.gradle + sed -e 's|NEXUS_URL|${{ secrets.NEXUS_URL }}|' -i settings.gradle + sed -e 's|NEXUS_URL|${{ secrets.NEXUS_URL }}|' -i build.gradle ./gradlew --no-daemon -PenableCrossCompilerPlugin=true halyard-web:installDist -x test diff --git a/build.gradle b/build.gradle index d20d245ee..d9664015a 100644 --- a/build.gradle +++ b/build.gradle @@ -52,7 +52,7 @@ subprojects { repositories { mavenLocal() maven{ - url "https://nexus.opsmx.net/repository/maven-snapshots/" + url "NEXUS_URL" credentials { username = "NEXUS_USERNAME" password = "NEXUS_PASSWORD" diff --git a/gradle.properties b/gradle.properties index cf72120af..ee018c313 100644 --- a/gradle.properties +++ b/gradle.properties @@ -3,7 +3,7 @@ fiatVersion=1.33.0-SNAPSHOT korkVersion=1.33.0-SNAPSHOT front50Version=1.33.0-SNAPSHOT org.gradle.parallel=true -spinnakerGradleVersion=1-0-SNAPSHOT +spinnakerGradleVersion=1.33.0-SNAPSHOT # To enable a composite reference to a project, set the # project property `'Composite=true'`. diff --git a/settings.gradle b/settings.gradle index 8cf40508c..cc52d86bc 100644 --- a/settings.gradle +++ b/settings.gradle @@ -21,7 +21,7 @@ if (spinnakerGradleVersion.endsWith('-SNAPSHOT')) { mavenCentral() gradlePluginPortal() maven{ - url "https://nexus.opsmx.net/repository/maven-snapshots/" + url "NEXUS_URL" credentials { username = "NEXUS_USERNAME" password = "NEXUS_PASSWORD"