website

The files for mattfehrenbach.xyz, a fork of a template.
git clone git://git.mattfehrenbach.xyz/website.git
Log | Files | Refs

commit f9dc327289d404e13534416cd90c5a8f42527948
parent e5d5d837f7c395a29187d201cdbdcbcc56925064
Author: matt <m.fehrenbach@pm.me>
Date:   Mon, 10 Aug 2020 22:51:44 +0100

Added archive artefacts step
Diffstat:
MJenkinsfile | 7++++---
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) } } @@ -15,4 +15,4 @@ pipeline { } } -} +}+ \ No newline at end of file