Skip to content

Commit

Permalink
Merge pull request #47 from open-simulation-platform/bug/lein-clean
Browse files Browse the repository at this point in the history
Cleanup Jenkinsfile and run 'lein clean' before build
  • Loading branch information
hplatou authored Feb 28, 2019
2 parents a4497fd + bb18d23 commit ec7de15
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
pipeline {
agent none

stages {
stage('Build client') {
agent { label 'windows' }
agent { label 'windows' }

environment {
_JAVA_OPTIONS="-Duser.home=${env.BASE}\\lein-repositories\\${env.EXECUTOR_NUMBER}"
}
environment {
_JAVA_OPTIONS="-Duser.home=${env.BASE}\\lein-repositories\\${env.EXECUTOR_NUMBER}"
}

tools {
jdk 'jdk8'
//Leiningen no auto-install available, installing manually
}
tools {
jdk 'jdk8'
//Leiningen no auto-install available, installing manually
}

stages {
stage('Build client') {
steps {
sh 'curl -O https://raw.githubusercontent.com/technomancy/leiningen/stable/bin/lein'
sh './lein clean'
sh './lein cljsbuild once min'
}
post {
Expand Down

0 comments on commit ec7de15

Please sign in to comment.