Étape 4 #46

Merged
louis_royer merged 48 commits from etape4 into master 2020-03-24 17:42:56 +01:00
Showing only changes of commit 33f1829cdc - Show all commits

5
Jenkinsfile vendored
View File

@ -11,6 +11,10 @@
sh 'echo "BUILDING SERVER"'
sh 'echo Main-Class: serverP2P/ServerP2P > MANIFEST.MF'
sh 'jar -cvmf MANIFEST.MF server.jar $(find bin/ -maxdepth 1 -mindepth 1 -printf "-C bin %f\n")'
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 "CREATING sources.tar.gz"'
sh 'tar -zcvf sources.tar.gz src/'
}
}
@ -24,6 +28,7 @@
success {
archiveArtifacts artifacts: 'client.jar', fingerprint: true
archiveArtifacts artifacts: 'server.jar', fingerprint: true
archiveArtifacts artifacts: 'tracker.jar', fingerprint: true
archiveArtifacts artifacts: 'sources.tar.gz', fingerprint: true
}
}