Merge branch 'master' into 1.12

* master:
  Add Jenkinsfile
This commit is contained in:
aidancbrady committed 2018-01-19 20:19:07 -05:00
commit e993846cb6
1 file changed
+33
Vendored
+33
View File
@@ -0,0 +1,33 @@
pipeline {
agent any
tools {
gradle "Gradle 4.4"
}
stages {
stage('Build') {
steps {
sh "gradle"
}
}
stage('Deploy') {
when {
branch 'master'
}
steps {
echo "Current build result: ${currentBuild.result}"
withAWS(region: 'us-east-1', credentials:'add82375-f3a1-4b2c-bf52-f557247e9c9e') {
s3Upload(bucket:"aidancbrady", path:"mekanism/${env.BUILD_ID}", includePathPattern:'**/*', workingDir:'output')
}
}
}
stage('Cleanup') {
steps{
dir('output') {
deleteDir()
}
}
}
}
}