commit | d4e31281bfea4a36052aad5e656a12c80e824328 | [log] [tgz] |
---|---|---|
author | Sergey Kulanov <skulanov@mirantis.com> | Tue Nov 08 17:39:19 2016 +0200 |
committer | Sergey Kulanov <skulanov@mirantis.com> | Tue Nov 08 17:43:45 2016 +0200 |
tree | 6c73519aff368b16fbcc4b3f55fb860909590e74 | |
parent | 9cef9255475b22624f9da80fc964661940a2c5cf [diff] |
Add uriByProperties() with String as second parameter Add overloaded function uriByProperties() which allows to pass properties for search in format prop1=val1&prop2=val2&prop3=val3 Example: // return prop1=val1;prop2;val2 def properties = tools.getBinaryBuildProperties().replaceAll(";", "&") // Search for an artifact with required properties def artifactURI = tools.uriByProperties(env.ARTIFACTORY_URL, properties) Change-Id: I112e85309d92a37963b9bb35aa07f0c8cb897b2f