Add utf-8
flavien's git/Projet_JAVA_P2P_STRI2A/pipeline/head This commit looks good Details

pull/28/head
Louis Royer 5 years ago
parent 11b063709b
commit 8cee49394c

2
Jenkinsfile vendored

@ -4,7 +4,7 @@
stages { stages {
stage('build') { stage('build') {
steps { steps {
sh 'javac -cp "./src" -d "./bin" $(find . -iname "*.java" -type f) -Xlint:deprecation' sh 'javac -cp "./src" -d "./bin" $(find . -iname "*.java" -type f) -Xlint:deprecation -encoding UTF8'
sh 'echo "BUILDING CLIENT"' sh 'echo "BUILDING CLIENT"'
sh 'echo Main-Class: clientP2P/ClientP2P > MANIFEST.MF' sh 'echo Main-Class: clientP2P/ClientP2P > MANIFEST.MF'
sh 'jar -cvmf MANIFEST.MF client.jar $(find . \\( -iname "*.class" -and ! -iwholename "*/clientP2P/*.class" \\) -type f)' sh 'jar -cvmf MANIFEST.MF client.jar $(find . \\( -iname "*.class" -and ! -iwholename "*/clientP2P/*.class" \\) -type f)'

Loading…
Cancel
Save