Publish Build Scans to https://ge.apache.org
This commit is contained in:
committed by
Aleksandar Vidakovic
parent
6172b62456
commit
66b3618ea4
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user