com.liferay.jenkins.results.parser.dependencies.get-build-data.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com.liferay.jenkins.results.parser
Show all versions of com.liferay.jenkins.results.parser
Liferay Jenkins Results Parser
The newest version!
import groovy.json.JsonBuilder
import java.util.Date
import java.util.List
import jenkins.metrics.impl.TimeInQueueAction
import hudson.model.Item
import hudson.model.Items
import hudson.model.Job
import hudson.model.ParametersAction
import hudson.model.ParameterValue
import hudson.model.Result
import hudson.model.Run
Date endDate = new Date()
Date startDate = endDate.minus(1)
startDate = Date.parse("yyyyMMdd hh:mm:ss", startDate.format("yyyyMMdd") + " 00:00:00")
List