Update Jenkinsfile
This commit is contained in:
parent
4a0cb78c90
commit
c7a49620a6
|
|
@ -6,23 +6,6 @@ pipeline {
|
|||
}
|
||||
|
||||
stages {
|
||||
stage('Fetch Cache') {
|
||||
options {
|
||||
cache(caches: [
|
||||
arbitraryFileCache(
|
||||
cacheName: 'Next',
|
||||
cacheValidityDecidingFile: '',
|
||||
excludes: '',
|
||||
includes: '**/*',
|
||||
path: "./.nx/cache"
|
||||
)
|
||||
], defaultBranch: 'dev', maxCacheSize: 256000, skipSave: true)
|
||||
}
|
||||
steps {
|
||||
echo 'Start fetching Cache.'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Checkout Repository') {
|
||||
steps {
|
||||
checkout scm
|
||||
|
|
@ -56,24 +39,6 @@ pipeline {
|
|||
}
|
||||
}
|
||||
|
||||
stage('Save Cache') {
|
||||
options {
|
||||
cache(caches: [
|
||||
arbitraryFileCache(
|
||||
cacheName: 'Next',
|
||||
cacheValidityDecidingFile: '',
|
||||
excludes: '',
|
||||
includes: '**/*',
|
||||
path: "./.nx/cache"
|
||||
)
|
||||
], defaultBranch: 'dev', maxCacheSize: 256000, skipRestore: true)
|
||||
}
|
||||
steps {
|
||||
echo 'Start saving Cache.'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
junit '**/reports/junit.xml'
|
||||
|
|
|
|||
Loading…
Reference in New Issue