Skip to content

Commit 7dda2b0

Browse files
committed
Configure Solutions instance in convention verification workflows
1 parent 2029f7f commit 7dda2b0

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/convention-develocity-gradle-plugin-verification.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- name: Build with Gradle - Gradle 2 through 4
2727
working-directory: convention-develocity-gradle-plugin/plugins/gradle-2-through-4
2828
run: ./gradlew build
29+
- name: Configure Develocity Solutions instance
30+
working-directory: convention-develocity-gradle-plugin/plugins/gradle-5-or-newer/src/main/java/com/myorg
31+
run: sed -i 's/develocity-samples.gradle.com/ge.solutions-team.gradle.com/g' ConventionDevelocityGradlePlugin.java
2932
- name: Build with Gradle - Gradle 5 or newer
3033
working-directory: convention-develocity-gradle-plugin/plugins/gradle-5-or-newer
3134
run: ./gradlew build publishToMavenLocal
@@ -82,7 +85,7 @@ jobs:
8285
- name: Verify example build
8386
id: build
8487
working-directory: convention-develocity-gradle-plugin/examples/gradle_${{ matrix.versions.sample }}
85-
run: ./gradlew build -Ddevelocity.url=https://ge.solutions-team.gradle.com
88+
run: ./gradlew build
8689
env:
8790
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
8891
- name: Verify Build Scan published

.github/workflows/convention-develocity-maven-extension-verification.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@ jobs:
2222
java-version: '8'
2323
distribution: 'temurin'
2424
cache: maven
25+
- name: Set up Maven
26+
uses: gradle/develocity-actions/[email protected]
27+
- name: Configure Develocity Solutions instance
28+
working-directory: convention-develocity-maven-extension/extension/src/main/java/com/myorg
29+
run: sed -i 's/develocity-samples.gradle.com/ge.solutions-team.gradle.com/g' ConventionDevelocityListener.java
2530
- name: Build with Maven
2631
working-directory: convention-develocity-maven-extension/extension
2732
run: ./mvnw clean install
@@ -68,7 +73,7 @@ jobs:
6873
- name: Verify example build
6974
id: build
7075
working-directory: convention-develocity-maven-extension/examples/maven_${{ matrix.versions.sample }}
71-
run: ./mvnw clean verify -Ddevelocity.url=https://ge.solutions-team.gradle.com
76+
run: ./mvnw clean verify
7277
env:
7378
DEVELOCITY_ACCESS_KEY: ${{ secrets.DV_SOLUTIONS_ACCESS_KEY }}
7479
- name: Verify Build Scan published

0 commit comments

Comments
 (0)