Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (24 sloc) 554 Bytes
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-cargo-plugin:2.2.2'
}
}
apply plugin: 'com.bmuschko.cargo'
repositories {
mavenCentral()
}
cargo {
containerId = 'tomcat7x'
remote {
hostname = System.getenv('DEPLOY_HOST')
username = System.getenv('DEPLOY_USER')
password = System.getenv('DEPLOY_PASSWORD')
}
deployable {
file = file('/home/travis/build/bendisposto/evalB/target/evalB.war')
context = 'evalB'
}
}