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

The 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