Unverified Commit ced6859e authored by daz's avatar daz
Browse files

Update Build Scan™ to Build Scan®

parent 0904709a
Loading
Loading
Loading
Loading
+2 −2
Changes for .github/workflows/demo-job-summary.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -23,10 +23,10 @@ jobs:
    - name: Build kotlin-dsl project
      working-directory: .github/workflow-samples/kotlin-dsl
      run: ./gradlew assemble
    - name: Build kotlin-dsl project without build scan
    - name: Build kotlin-dsl project without Build Scan®
      working-directory: .github/workflow-samples/kotlin-dsl
      run: ./gradlew assemble check --no-scan
    - name: Build kotlin-dsl project with build scan publish failure
    - name: Build kotlin-dsl project with Build Scan® publish failure
      working-directory: .github/workflow-samples/kotlin-dsl
      run: ./gradlew check -Dgradle.enterprise.url=https://not.valid.server
    - name: Build groovy-dsl project
+2 −2
Changes for .github/workflows/demo-pr-build-scan-comment.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
name: Demo adding build scan comment to PR
name: Demo adding Build Scan® comment to PR
on:
  pull_request:
    types: [assigned, review_requested]
@@ -14,7 +14,7 @@ jobs:
      id: gradle
      working-directory: .github/workflow-samples/kotlin-dsl
      run: ./gradlew build --scan
    - name: "Add build scan URL as PR comment"
    - name: "Add Build Scan URL as PR comment"
      uses: actions/github-script@v6
      with:
        github-token: ${{secrets.GITHUB_TOKEN}}
+4 −4
Changes for .github/workflows/integ-test-action-inputs-caching.yml: 4 added lines, 4 removed lines.
Original line number Diff line number Diff line
@@ -88,12 +88,12 @@ jobs:
      id: gradle
      working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
      run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}"
    - name: Check build scan url is captured
    - name: Check Build Scan url is captured
      if: ${{ !steps.gradle.outputs.build-scan-url }}
      uses: actions/github-script@v6
      with:
        script: |
          core.setFailed('No build scan detected')
          core.setFailed('No Build Scan detected')

  # Test that build scans are captured when caching is disabled because Gradle User Home already exists
  cache-disabled-pre-existing-gradle-home:
@@ -111,12 +111,12 @@ jobs:
      id: gradle
      working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
      run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}"
    - name: Check build scan url is captured
    - name: Check Build Scan url is captured
      if: ${{ !steps.gradle.outputs.build-scan-url }}
      uses: actions/github-script@v6
      with:
        script: |
          core.setFailed('No build scan detected')
          core.setFailed('No Build Scan detected')

  # Test seed the cache with cache-write-only and verify with cache-read-only
  seed-build-write-only:
+2 −2
Changes for .github/workflows/integ-test-execution.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -84,11 +84,11 @@ jobs:
        gradle-version: ${{matrix.gradle}}
        build-root-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
        arguments: help -DgradleVersionCheck=${{matrix.gradle}}
    - name: Check build scan url
    - name: Check Build Scan url
      if: ${{ !steps.gradle.outputs.build-scan-url }}
      uses: actions/github-script@v6
      with:
        script: |
          core.setFailed('No build scan detected')    
          core.setFailed('No Build Scan detected')    
  
   
+2 −2
Changes for .github/workflows/integ-test-provision-gradle-versions.yml: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -88,11 +88,11 @@ jobs:
      id: gradle
      working-directory: .github/workflow-samples/no-wrapper${{ matrix.build-root-suffix }}
      run: gradle help "-DgradleVersionCheck=${{matrix.gradle}}"
    - name: Check build scan url
    - name: Check Build Scan url
      if: ${{ !steps.gradle.outputs.build-scan-url }}
      uses: actions/github-script@v6
      with:
        script: |
          core.setFailed('No build scan detected')    
          core.setFailed('No Build Scan detected')    
  
   
Loading