All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.liferay.jenkins.results.parser.dependencies.get-build-url.groovy Maven / Gradle / Ivy

There is a newer version: 1.0.1492
Show newest version
Map topLevelItems = Jenkins.instance.getItemMap();

TopLevelItem topLevelItem = topLevelItems.get("${jenkinsJobName}");

for (def build : topLevelItem.getBuilds()) {
	if (build.getQueueId() == ${jenkinsQueueId}) {
		println(Jenkins.instance.getRootUrl() + build.getUrl());

		break;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy