Skip to content

Commit

Permalink
ALFREDAPI-522 [Update] credentials of CS legacy repo in ci-build
Browse files Browse the repository at this point in the history
  • Loading branch information
codingBenVdS committed Jun 13, 2023
1 parent c817309 commit 3e213e1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
env:
ALFRESCO_NEXUS_USERNAME: ${{ secrets.ALFRESCO_NEXUS_USERNAME }}
ALFRESCO_NEXUS_PASSWORD: ${{ secrets.ALFRESCO_NEXUS_PASSWORD }}
CLOUDSMITH_USER: ${{ secrets.CLOUDSMITH_USER }}
CLOUDSMITH_APIKEY: ${{ secrets.CLOUDSMITH_APIKEY }}
jobs:
BuildAndPublish:
strategy:
Expand Down
8 changes: 7 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,13 @@ subprojects {
repositories {
mavenCentral()
maven { url "https://artifacts.alfresco.com/nexus/content/groups/public" }
maven { url "https://cloudsmith.io/~xenit/repos/legacy/setup/?auth_method=basic_token#formats-maven" }
maven {
url "https://cloudsmith.io/~xenit/repos/legacy/setup/?auth_method=basic_token#formats-maven"
credentials {
username System.env.CLOUDSMITH_USER ?: property('eu.xenit.cloudsmith.username')
password System.env.CLOUDSMITH_APIKEY ?: property('eu.xenit.cloudsmith.password')
}
}
// This private repository provides Xenit with Alfresco enterprise artefacts.
// External developers should replace it with their own library repository.
maven {
Expand Down

0 comments on commit 3e213e1

Please sign in to comment.