Skip to content

Commit

Permalink
Auto merge of #51 - ReconfigureIO:feature/run-test-in-homu, r=CampGareth
Browse files Browse the repository at this point in the history
Only run simulations and deployments when we are in a reviewed branch

None
  • Loading branch information
reconfig-bot authored Feb 17, 2017
2 parents 23f8880 + f878fe9 commit 0d15436
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,18 @@ pipeline {
}

stage('deploy examples') {
when {
expression { env.BRANCH_NAME in ["master", "auto", "rollup", "try"] }
}
steps {
sh "make VERSION=${env.VERSION} deploy"
}
}

stage('test simulation') {
when {
expression { env.BRANCH_NAME in ["master", "auto", "rollup", "try"] }
}
steps {
parallel histogram: {
dir('examples/histogram'){
Expand All @@ -81,7 +87,7 @@ pipeline {

stage('test hw builds') {
when {
expression { env.BRANCH_NAME == "master" }
expression { env.BRANCH_NAME in ["master", "auto", "rollup", "try"] }
}
steps {
parallel histogram: {
Expand Down Expand Up @@ -109,6 +115,9 @@ pipeline {
}

stage('upload') {
when {
expression { env.BRANCH_NAME in ["master"] }
}
steps {
step([$class: 'S3BucketPublisher', dontWaitForConcurrentBuildCompletion: false, entries: [[bucket: 'nerabus/sdaccel-builder', excludedFile: '', flatten: false, gzipFiles: false, keepForever: false, managedArtifacts: false, noUploadOnFailure: true, selectedRegion: 'us-east-1', showDirectlyInBrowser: false, sourceFile: "dist/*.tar.gz", storageClass: 'STANDARD', uploadFromSlave: false, useServerSideEncryption: false]], profileName: 's3', userMetadata: []])
}
Expand Down

0 comments on commit 0d15436

Please sign in to comment.