commit 30aedcbbc5e16b809e1ba20cb5e40fb17144b51c
parent 7176925a5804cb2578213ff2286d39890170457b
Author: Matt Fehrenbach <m.fehrenbach@pm.me>
Date: Mon, 10 Aug 2020 23:11:20 +0100
Modified fileops of Jenkinsfile
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -3,8 +3,8 @@ pipeline {
stages {
stage('Build') {
steps {
- fileOperations([folderCreateOperation('build'), fileCopyOperation(excludes: '', flattenFiles: false, includes: 'index.html', renameFiles: false, sourceCaptureExpression: '', targetLocation: 'build', targetNameExpression: ''), folderCopyOperation(destinationFolderPath: 'build/assets', sourceFolderPath: 'assets'), folderCopyOperation(destinationFolderPath: 'build/images', sourceFolderPath: 'images')])
- archiveArtifacts(artifacts: 'build.zip', fingerprint: true, onlyIfSuccessful: true)
+ fileOperations([folderCreateOperation('build'), fileCopyOperation(excludes: '', flattenFiles: false, includes: 'index.html', renameFiles: false, sourceCaptureExpression: '', targetLocation: 'build', targetNameExpression: ''), folderCopyOperation(destinationFolderPath: 'build/assets', sourceFolderPath: 'assets'), folderCopyOperation(destinationFolderPath: 'build/images', sourceFolderPath: 'images'), fileZipOperation(folderPath: 'build', outputFolderPath: '')])
+ archiveArtifacts(artifacts: 'build.zip', fingerprint: true, onlyIfSuccessful: true)
}
}