commit 3be67371ffe89d674a3b85806b4eafd946c29ba4
parent 7176925a5804cb2578213ff2286d39890170457b
Author: matt <m.fehrenbach@pm.me>
Date: Mon, 10 Aug 2020 23:09:32 +0100
Changed build artefact
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
@@ -4,7 +4,7 @@ pipeline {
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)
+ archiveArtifacts(artifacts: 'build', fingerprint: true, onlyIfSuccessful: true)
}
}
@@ -13,10 +13,12 @@ pipeline {
echo 'Deploying....'
}
}
+
}
post {
success {
deleteDir()
}
+
}
-}
+}+
\ No newline at end of file