commit ad1cd2a5165ca1b2588fdca7615891025f816f66
parent 0e6beb8e2d9e0c90adef718f321849746f3c95ec
Author: Matt Fehrenbach <m.fehrenbach@pm.me>
Date: Mon, 10 Aug 2020 22:45:51 +0100
Modified Jenkinsfile
Diffstat:
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -4,7 +4,7 @@ pipeline {
stage('Build') {
steps {
echo 'Building..'
- archiveArtifacts(artifacts: 'assets,images,index.html', excludes: 'Jenkinsfile', fingerprint: true)
+ 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: '')])
}
}
@@ -15,4 +15,4 @@ pipeline {
}
}
-}-
\ No newline at end of file
+}