File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ name: CI
33on :
44 push :
55 pull_request :
6+ env :
7+ GRADLE_OPTS : >-
8+ -Dorg.gradle.project.org.alfresco.maven.nexus.username=${{ secrets.ALFRESCO_NEXUS_USERNAME }}
9+ -Dorg.gradle.project.org.alfresco.maven.nexus.password=${{ secrets.ALFRESCO_NEXUS_PASSWORD }}
610
711jobs :
812 test :
Original file line number Diff line number Diff line change @@ -76,8 +76,6 @@ def copyPropertyValueIfExists(sourcePropertyName, targetPropertyName) {
7676allprojects { Project p ->
7777 group = ' eu.xenit.alfresco'
7878
79- // It is not possible to set properties with a dot via GitHub Actions env variables, therefore we introduce support
80- // for a non-dotted-equivalent
8179 copyPropertyValueIfExists(' alfresco_nexus_username' , ' org.alfresco.maven.nexus.username' )
8280 copyPropertyValueIfExists(' alfresco_nexus_password' , ' org.alfresco.maven.nexus.password' )
8381 copyPropertyValueIfExists(' xenit_docker_registry_url' , ' eu.xenit.docker.registry.url' )
@@ -96,8 +94,8 @@ allprojects { Project p ->
9694 maven {
9795 url ' https://artifacts.alfresco.com/nexus/content/groups/private'
9896 credentials {
99- username project . property(' org.alfresco.maven.nexus.username' )
100- password project . property(' org.alfresco.maven.nexus.password' )
97+ username rootProject . property(' org.alfresco.maven.nexus.username' )
98+ password rootProject . property(' org.alfresco.maven.nexus.password' )
10199 }
102100 }
103101 }
You can’t perform that action at this time.
0 commit comments