More version work
This commit is contained in:
parent
c0f2e31b97
commit
7d15a7a8f9
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env groovy
|
||||
|
||||
import java.net.URLEncoder
|
||||
// import java.net.URLEncoder
|
||||
|
||||
Map call(Map config = [:]) {
|
||||
Map defaults = [
|
||||
@ -9,12 +9,14 @@ Map call(Map config = [:]) {
|
||||
queryParams: [
|
||||
'repository': 'tools',
|
||||
'sort': 'name',
|
||||
'name': 'test.something'
|
||||
'name': 'tests/test-something*'
|
||||
]
|
||||
]
|
||||
Map runConfig = defaults + config
|
||||
|
||||
nexusSearch = buildUrlWithQueryParams(runConfig.nexusBase, runConfig.queryParams)
|
||||
nexusURL = runConfig.nexusBase + '/' + runConfig.searchAPI
|
||||
|
||||
nexusSearch = buildUrlWithQueryParams(nexusURL, runConfig.queryParams)
|
||||
|
||||
runConfig.nexusQuery = nexusSearch
|
||||
return runConfig
|
||||
|
||||
Loading…
Reference in New Issue
Block a user