Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (15 sloc) 311 Bytes
stage 'Build'
node('master') {
git url: 'https://github.com/jyrkiput/jenkins-demo'
sh "./gradlew build"
}
stage 'Test'
node {
git url: 'https://github.com/jyrkiput/jenkins-demo'
sh "./gradlew test"
}
stage 'Package'
node('remote') {
git url: 'https://github.com/jyrkiput/jenkins-demo'
sh "./gradlew jar"
}