Skip to content
Snippets Groups Projects
Commit df6e4c7d authored by Boris Baldassari's avatar Boris Baldassari
Browse files

#5 Update jenkins file to build the new site.

parent 1ed5ae89
No related branches found
No related tags found
No related merge requests found
...@@ -10,15 +10,15 @@ pipeline { ...@@ -10,15 +10,15 @@ pipeline {
stage('Build mboxes') { stage('Build mboxes') {
steps { steps {
sh ''' sh '''
rm /data/eclipse_mls/*.mbox.lock || echo "No mbox lock found." #rm /data/eclipse_mls/*.mbox.lock || echo "No mbox lock found."
rsync -avlp -e ssh --rsh="/usr/bin/sshpass -p ${SYS_RSYNC_PASSWD} ssh -o StrictHostKeyChecking=no -l bbaldassari2kd" build.eclipse.org:/opt/public/download-staging.priv/scava/ /data/eclipse_mls/ || echo "Rsync had issues. But the show must go on, right?" #rsync -avlp -e ssh --rsh="/usr/bin/sshpass -p ${SYS_RSYNC_PASSWD} ssh -o StrictHostKeyChecking=no -l bbaldassari2kd" build.eclipse.org:/opt/public/download-staging.priv/scava/ /data/eclipse_mls/ || echo "Rsync had issues. But the show must go on, right?"
chmod 777 /data/eclipse_mls/* #chmod 777 /data/eclipse_mls/*
source ~/perl5/perlbrew/etc/bashrc #source ~/perl5/perlbrew/etc/bashrc
perlbrew switch perl-5.30.1 #perlbrew switch perl-5.30.1
perl -v #perl -v
Rscript --version #Rscript --version
cd scripts/ && sh ./process_mboxes.sh #cd scripts/ && sh ./process_mboxes.sh
ls /data/eclipse_mls/ > ../datasets/eclipse_mls/list_mboxes.txt #ls /data/eclipse_mls/ > ../website/content/eclipse_mls/list_mboxes.txt
''' '''
} }
} }
...@@ -48,13 +48,13 @@ pipeline { ...@@ -48,13 +48,13 @@ pipeline {
} }
stage('Archiving') { stage('Archiving') {
steps { steps {
archiveArtifacts artifacts: 'datasets/**/*_files/**/*.*', fingerprint: true archiveArtifacts artifacts: '**/*_files/**/*.*', fingerprint: true
archiveArtifacts artifacts: 'datasets/**/*.gz', fingerprint: true archiveArtifacts artifacts: '**/*.gz', fingerprint: true
archiveArtifacts artifacts: 'datasets/**/*.html', fingerprint: true archiveArtifacts artifacts: '**/*.html', fingerprint: true
archiveArtifacts artifacts: 'datasets/**/*.pdf', fingerprint: true archiveArtifacts artifacts: '**/*.pdf', fingerprint: true
archiveArtifacts artifacts: 'datasets/**/*.rmd', fingerprint: true archiveArtifacts artifacts: '**/*.rmd', fingerprint: true
archiveArtifacts artifacts: 'datasets/**/*.txt', fingerprint: true archiveArtifacts artifacts: '**/*.txt', fingerprint: true
archiveArtifacts artifacts: 'docs/*', fingerprint: true archiveArtifacts artifacts: 'website/*', fingerprint: true
cleanWs() cleanWs()
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment