commit 5e953a99c685a056d186a8787e24dc76d9d27f9f
parent 099ed4f9f14ac6d8002d8ae5244cedcbc9b2fb5b
Author: Matt Fehrenbach <m.fehrenbach@pm.me>
Date: Mon, 10 Aug 2020 23:03:44 +0100
Merge branch 'master' of git.mattfehrenbach.xyz:/var/www/git/website
Diffstat:
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -3,8 +3,8 @@ pipeline {
stages {
stage('Build') {
steps {
- echo 'Building..'
- 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', sourceFolderPath: 'assets'), folderCopyOperation(destinationFolderPath: 'build', sourceFolderPath: 'images'), fileZipOperation(folderPath: 'build', outputFolderPath: '')])
+ archiveArtifacts(artifacts: 'build.zip', fingerprint: true, onlyIfSuccessful: true)
}
}
@@ -19,4 +19,4 @@ pipeline {
deleteDir()
}
}
-}
+}+
\ No newline at end of file