Skip to content

Instantly share code, notes, and snippets.

@menski
Created September 16, 2015 12:07
Show Gist options
  • Save menski/75dbe912de0e19e8740f to your computer and use it in GitHub Desktop.
Save menski/75dbe912de0e19e8740f to your computer and use it in GitHub Desktop.
package ci.community
import generator.JobGenerator
import util.*
Server.COMMUNITY().each { server ->
new JobGenerator(
name: "${Version.CURRENT}-webapp-IT-${server}",
pollScmSchedule: null,
pollRemoteJob: RemoteJobHelper.WEBAPP_DISTRO,
rootPom: 'qa/pom.xml',
goals: "clean verify -P${server},h2,webapps-integration",
envVariables: ['DISPLAY': ':0'],
jdkVersion: Tool.JDK_FOR_SERVER(server),
label: Label.CHROME
).build(this)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment