Publish Build Scans to https://ge.apache.org

This commit is contained in:
Clay Johnson
2023-06-07 11:19:45 +02:00
committed by Aleksandar Vidakovic
parent 6172b62456
commit 66b3618ea4
8 changed files with 41 additions and 0 deletions
@@ -8,6 +8,8 @@ permissions:
jobs:
build:
runs-on: ubuntu-20.04
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
@@ -8,6 +8,8 @@ permissions:
jobs:
build:
runs-on: ubuntu-20.04
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
@@ -7,6 +7,8 @@ permissions:
jobs:
build:
runs-on: ubuntu-20.04
env:
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
+1
View File
@@ -27,6 +27,7 @@ jobs:
env:
TZ: Asia/Kolkata
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
+1
View File
@@ -27,6 +27,7 @@ jobs:
env:
TZ: Asia/Kolkata
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
+1
View File
@@ -28,6 +28,7 @@ jobs:
env:
TZ: Asia/Kolkata
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
+1
View File
@@ -17,6 +17,7 @@ jobs:
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONARCLOUD_TOKEN }}
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # tag=v3
+31
View File
@@ -16,6 +16,37 @@
* specific language governing permissions and limitations
* under the License.
*/
plugins {
id 'com.gradle.enterprise' version '3.12.5'
id 'com.gradle.common-custom-user-data-gradle-plugin' version '1.10'
}
def isCI = System.getenv('JENKINS_URL') != null
gradleEnterprise {
server = "https://ge.apache.org"
buildScan {
capture { taskInputFiles = true }
uploadInBackground = !isCI
publishAlways()
publishIfAuthenticated()
obfuscation {
ipAddresses { addresses ->
addresses.collect { address ->
"0.0.0.0"
}
}
}
}
}
buildCache {
local {
enabled = !isCI
}
}
rootProject.name='fineract'
include ':fineract-core'
include ':fineract-provider'