Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
XWiki
xwiki-rendering
Commits
2b64be61
Commit
2b64be61
authored
May 17, 2022
by
Vincent Massol
Browse files
[Misc] Add all xwiki system properties as custom data in GE + tag some of them
* Fix NPE
parent
3cd81996
Changes
1
Hide whitespace changes
Inline
Side-by-side
.mvn/gradle-enterprise-custom-user-data.groovy
View file @
2b64be61
...
...
@@ -38,21 +38,19 @@ buildScan.executeOnce('tag-profiles') { BuildScanApi buildScanApi ->
project
.
properties
.
find
{
it
.
key
.
startsWith
(
'xwiki'
)
}.
each
{
buildScanApi
.
value
(
it
.
key
,
it
.
value
)
}
// Add specific tags to make it easy to recognize with wich environment a docker functional tests has been executed
def
servletContainer
=
project
.
properties
.
'xwiki.test.ui.servletEngine'
.
toLowerCase
()
def
servletContainerTag
=
project
.
properties
.
'xwiki.test.ui.servletEngineTag'
.
toLowerCase
()
def
servletContainer
=
project
.
properties
.
'xwiki.test.ui.servletEngine'
def
servletContainerTag
=
project
.
properties
.
'xwiki.test.ui.servletEngineTag'
if
(
servletContainer
&&
servletContainerTag
)
{
buildScanApi
.
tag
(
"${servletContainer} ${servletContainerTag}"
)
buildScanApi
.
tag
(
"${servletContainer
.toLowerCase()
} ${servletContainerTag
.toLowerCase()
}"
)
}
def
database
=
project
.
properties
.
'xwiki.test.ui.database'
.
toLowerCase
()
def
databaseTag
=
project
.
properties
.
'xwiki.test.ui.databaseTag'
.
toLowerCase
()
def
database
=
project
.
properties
.
'xwiki.test.ui.database'
def
databaseTag
=
project
.
properties
.
'xwiki.test.ui.databaseTag'
if
(
database
&&
databaseTag
)
{
buildScanApi
.
tag
(
"${database} ${databaseTag}"
)
buildScanApi
.
tag
(
"${database
.toLowerCase()
} ${databaseTag
.toLowerCase()
}"
)
}
def
browser
=
project
.
properties
.
'xwiki.test.ui.browser'
.
toLowerCase
()
def
browser
=
project
.
properties
.
'xwiki.test.ui.browser'
if
(
browser
)
{
buildScanApi
.
tag
(
browser
)
buildScanApi
.
tag
(
browser
.
toLowerCase
()
)
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment