jenkins - Artifact Version Search API Call in Groovy -


i'm trying integrate below's rest api call groovy , use jenkin's dynamic parameter list versions of artifact. please assist groovy script

the artifactory version search rest api method can used list of available artifact versions groupid , artifactid in local, remote or virtual repositories. example:

get /api/search/versions?g=org.acme&a=artifact&repos=libs-release-local { "results": [     {     "version": "1.2",     "integration": false     },{         "version": "1.0-snapshot",     "integration": true     },{         "version": "1.0",     "integration": false     } ] } 


Comments

Popular posts from this blog

ios - RestKit 0.20 — CoreData: error: Failed to call designated initializer on NSManagedObject class (again) -

laravel - PDOException in Connector.php line 55: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) -

java - Digest auth with Spring Security using javaconfig -