trying to pass date to items.find after calculating
def currentDate = (new Date()-7).format("yyyy-MM-dd",
TimeZone.getTimeZone("UTC"))
'items.find({"type":"file","created":{"$gt":"currentDate"}) is not working
--
View this message in context:
http://forums.jfrog.org/how-to-pass-parameter-to-items-find-tp7580533.html
Sent from the Artifactory - Users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Artifactory-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/artifactory-users