It would look something like this:
buildscript {
repositories {
maven {
url 'http://artifactory.bigco.com:8081/artifactory/virtual-gradle/gradle/plugin/'
credentials {
username = "${artifactory_user}"
password = "${artifactory_password}"
}
}
}
dependencies {
classpath "gradle.plugin.org.jenkins-ci.tools:gradle-jpi-plugin:0.22.0"
}
}
apply plugin: "org.jenkins-ci.jpi"