File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed
Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change 4343 </distributionManagement >
4444 </profile >
4545
46- <profile >
47- <!-- set gitlab profile active when run by gitlab CI -->
48- <id >gitlab_ci</id >
49- <activation >
50- <property >
51- <name >env.GITLAB_CI</name >
52- <value >true</value >
53- </property >
54- </activation >
55-
56- <distributionManagement >
57- <!-- env variables are available, when run by gitlab CI -->
58- <repository >
59- <id >gitlab.ext.cyber.ee</id >
60- <url >${env.CI_SERVER_URL} /api/v4/projects/${env.CI_PROJECT_ID} /packages/maven</url >
61- </repository >
62- <snapshotRepository >
63- <id >gitlab.ext.cyber.ee</id >
64- <url >${env.CI_SERVER_URL} /api/v4/projects/${env.CI_PROJECT_ID} /packages/maven</url >
65- </snapshotRepository >
66- </distributionManagement >
67- </profile >
6846 </profiles >
6947
70-
71- <!-- distributionManagement>
72- <repository>
73- <id>gitlab.ext.cyber.ee</id>
74- <url>https://gitlab.ext.cyber.ee/api/v4/projects/58/packages/maven</url>
75- </repository>
76- <snapshotRepository>
77- <id>gitlab.ext.cyber.ee</id>
78- <url>https://gitlab.ext.cyber.ee/api/v4/projects/58/packages/maven</url>
79- </snapshotRepository>
80- </distributionManagement-->
81-
8248 <dependencies >
8349
8450 </dependencies >
12288 < source>
12389 try {
12490 println " active profiles: ${ project.activeProfiles} "
125- println " url: ${ url} "
12691 println " project.distributionManagement.repository.id: ${ project.distributionManagement.repository.id} "
12792 println " project.distributionManagement.repository.url: ${ project.distributionManagement.repository.url} "
12893 // project.getProperties().setProperty('cdoc2-key-capsules-openapi.version', openapi.info.version)
You can’t perform that action at this time.
0 commit comments