From 7530c629d17101235ae04cf7f92f267344bd26cb Mon Sep 17 00:00:00 2001 From: Louis Royer Date: Fri, 3 Apr 2020 14:33:24 +0200 Subject: [PATCH] Add .jar for clientGUI --- Jenkinsfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 399f133..d1f3664 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -14,6 +14,9 @@ sh 'echo "BUILDING TRACKER"' sh 'echo Main-Class: tracker/Tracker > MANIFEST.MF' sh 'jar -cvmf MANIFEST.MF tracker.jar $(find bin/ -maxdepth 1 -mindepth 1 -printf "-C bin %f\n")' + sh 'echo "BUILDING CLIENT GUI"' + sh 'echo Main-Class: gui/Gui > MANIFEST.MF' + sh 'jar -cvmf MANIFEST.MF clientGUI.jar $(find bin/ -maxdepth 1 -mindepth 1 -printf "-C bin %f\n")' sh 'echo "CREATING sources.tar.gz"' sh 'tar -zcvf sources.tar.gz src/' } @@ -29,6 +32,7 @@ archiveArtifacts artifacts: 'client.jar', fingerprint: true archiveArtifacts artifacts: 'server.jar', fingerprint: true archiveArtifacts artifacts: 'tracker.jar', fingerprint: true + archiveArtifacts artifacts: 'clientGUI.jar', fingerprint:true archiveArtifacts artifacts: 'sources.tar.gz', fingerprint: true } } -- 2.30.2