commit 7176925a5804cb2578213ff2286d39890170457b
parent 5e953a99c685a056d186a8787e24dc76d9d27f9f
Author: Matt Fehrenbach <m.fehrenbach@pm.me>
Date: Mon, 10 Aug 2020 23:08:49 +0100
Modified fileops of Jenkinsfile
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -3,7 +3,7 @@ pipeline {
stages {
stage('Build') {
steps {
- fileOperations([folderCreateOperation('build'), fileCopyOperation(excludes: '', flattenFiles: false, includes: 'index.html', renameFiles: false, sourceCaptureExpression: '', targetLocation: 'build', targetNameExpression: ''), folderCopyOperation(destinationFolderPath: 'build', sourceFolderPath: 'assets'), folderCopyOperation(destinationFolderPath: 'build', sourceFolderPath: 'images'), fileZipOperation(folderPath: 'build', outputFolderPath: '')])
+ 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)
}
}
@@ -19,4 +19,4 @@ pipeline {
deleteDir()
}
}
-}-
\ No newline at end of file
+}