Skip to content
Permalink
Browse files

bug: build.jenkins was missing

  • Loading branch information...
MikeMitterer committed Jul 5, 2018
1 parent 60e51fe commit 5fcdb8b728168e04937df2f0e74addb113f5576b
Showing with 47 additions and 0 deletions.
  1. +47 −0 build.jenkins
@@ -0,0 +1,47 @@
pipeline {
agent {
label 'linux'
}
stages {
stage('Preparation') {
steps {
timeout(time: 15, unit: 'MINUTES') {
ansiColor('xterm') {
sh 'pub update'
}
}

}
}
stage('Analyze') {
steps {
ansiColor('xterm') {
sh 'dartanalyzer lib/'
sh 'dartanalyzer test/'
sh 'dartanalyzer example/browser/reflection/web/'
}
}
}
stage('Test') {
steps {
ansiColor('xterm') {
sh 'pub run test test/unit'
sh 'pub run test test/unit -p chrome'
sh 'pub run test test/integration -p chrome'
}
}
}

stage('Deploy samples') {
steps {
timeout(time: 30, unit: 'MINUTES') {
ansiColor('xterm') {
sh './deploy-samples.sh --deploy'
sh './deploy-samples.sh --publish --force'
}
}
}
}
}
}

0 comments on commit 5fcdb8b

Please sign in to comment.
You can’t perform that action at this time.