Setup instead of build.
This commit is contained in:
parent
eafeba9fed
commit
5110796591
|
@ -8,7 +8,7 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
environment {
|
environment {
|
||||||
GRADLE_ARGS = '--no-daemon' // No daemon for now as FG3 kinda derps. //'-Dorg.gradle.daemon.idletimeout=5000'
|
GRADLE_ARGS = '--no-daemon --console=plain' // No daemon for now as FG3 kinda derps. //'-Dorg.gradle.daemon.idletimeout=5000'
|
||||||
}
|
}
|
||||||
|
|
||||||
stages {
|
stages {
|
||||||
|
@ -17,12 +17,12 @@ pipeline {
|
||||||
checkout scm
|
checkout scm
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
stage('build') {
|
stage('setup') {
|
||||||
steps {
|
steps {
|
||||||
cache(maxCacheSize: 250/*MB*/, caches: [
|
cache(maxCacheSize: 250/*MB*/, caches: [
|
||||||
[$class: 'ArbitraryFileCache', excludes: 'log.txt', includes: '**/*', path: '${WORKSPACE}/projects/forge/build/extractRangeMap'] //Cache the rangemap to help speed up builds
|
[$class: 'ArbitraryFileCache', excludes: 'log.txt', includes: '**/*', path: '${WORKSPACE}/projects/forge/build/extractRangeMap'] //Cache the rangemap to help speed up builds
|
||||||
]){
|
]){
|
||||||
sh './gradlew ${GRADLE_ARGS} --refresh-dependencies --continue build'
|
sh './gradlew ${GRADLE_ARGS} --refresh-dependencies --continue setup'
|
||||||
}
|
}
|
||||||
script {
|
script {
|
||||||
env.MYVERSION = sh(returnStdout: true, script: './gradlew properties -q | grep "version:" | awk \'{print $2}\'').trim()
|
env.MYVERSION = sh(returnStdout: true, script: './gradlew properties -q | grep "version:" | awk \'{print $2}\'').trim()
|
||||||
|
|
Loading…
Reference in New Issue