[commit: ghc] wip/jenkins: Archive source distribution (eee6b4d)

git at git.haskell.org git at git.haskell.org
Mon Jun 12 17:35:18 UTC 2017


Repository : ssh://git@git.haskell.org/ghc

On branch  : wip/jenkins
Link       : http://ghc.haskell.org/trac/ghc/changeset/eee6b4d5b82f7a20a9d6f68451a967af2177eec3/ghc

>---------------------------------------------------------------

commit eee6b4d5b82f7a20a9d6f68451a967af2177eec3
Author: Ben Gamari <ben at smart-cactus.org>
Date:   Mon Jun 12 13:34:52 2017 -0400

    Archive source distribution


>---------------------------------------------------------------

eee6b4d5b82f7a20a9d6f68451a967af2177eec3
 Jenkinsfile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index acaf373..5c20563 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -48,8 +48,11 @@ stage("Build source distribution") {
       json.put('commit', resolveCommitSha('HEAD'))
       writeJSON(file: 'src-dist.json', json: json)
 
-      stash(name: 'source-dist', includes: 'ghc-src.tar.xz,ghc-win32-tarballs.tar.xz,src-dist.json')
+      def src_dist_files = 'ghc-src.tar.xz,ghc-win32-tarballs.tar.xz,src-dist.json'
+      stash(name: 'source-dist', includes: src_dist_files)
       stash(name: 'testsuite-dist', includes: 'ghc-testsuite.tar.xz')
+      archiveArtifacts artifacts: src_dist_files
+      archiveArtifacts artifacts: 'ghc-testsuite.tar.xz'
     }
   }
 }



More information about the ghc-commits mailing list