Skip to content

Commit

Permalink
Fixes paths to symbolic links (modelica#2548)
Browse files Browse the repository at this point in the history
The upload of the files failed due to some symbolic links being broken.
Also note that the upload script reads symbolic links instead of
uploading them as they are.
  • Loading branch information
sjoelund committed Apr 22, 2020
1 parent a5fdf17 commit c1e9c7c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .CI/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ pipeline {
sh 'ln -s inheritance-modification-and-redeclaration.html Ch7.html'
sh 'ln -s equations.html Ch8.html'
sh 'ln -s connectors-and-connections.html Ch9.html'
sh 'ln -s array.html Ch10.html'
sh 'ln -s arrays.html Ch10.html'
sh 'ln -s statements-and-algorithm-sections.html Ch11.html'
sh 'ln -s functions.html Ch12.html'
sh 'ln -s packages.html Ch13.html'
Expand All @@ -50,13 +50,14 @@ pipeline {
sh 'ln -s state-machines.html Ch17.html'
sh 'ln -s annotations.html Ch18.html'
sh 'ln -s unit-expressions.html Ch19.html'
sh 'ln -s the-modelica-standard-library Ch20.html'
sh 'ln -s the-modelica-standard-library.html Ch20.html'
sh 'ln -s glossary.html A1.html'
sh 'ln -s modelica-concrete-syntax.html A2.html'
sh 'ln -s modelica-dae-representation.html A3.html'
sh 'ln -s derivation-of-stream-equations.html A4.html'
sh 'ln -s modelica-revision-history.html A5.html'
sh 'ln -s literature.html A6.html'
sh script: '! (find . -type l -xtype l | egrep \'.*\')', label: 'Verify symbolic links work'
sh 'tar czf MLS.tar.gz *.html *.css media css/'
archiveArtifacts artifacts: 'MLS.tar.gz', fingerprint: true
archiveArtifacts artifacts: 'MLS.pdf', fingerprint: true
Expand Down

0 comments on commit c1e9c7c

Please sign in to comment.