webofneeds icon indicating copy to clipboard operation
webofneeds copied to clipboard

Create Jenkins Build to update WoN ontology pages on github pages branch

Open quasarchimaere opened this issue 5 years ago • 2 comments

we should add a build job, that generates and publishes the WoN ontology files automatically to the github-pages branch.

Related to https://github.com/researchstudio-sat/webofneeds/pull/2924 (see this pr for a how to)

quasarchimaere avatar May 13 '19 15:05 quasarchimaere

This is trickier than it may sound:

  • gh-pages is a different branch of the same project, it's not evident how to copy into a branch currently not checked out
  • for the build, we would need the widoco jar availble in the build environment. I think we would have to do something similar to @seralf here: https://github.com/dgarijo/Widoco/issues/301
  • in addition to that, the current doc build is done by a bash script. I'm sure it's mavenizable but I am not sure how to make that robust and portable across platforms.

fkleedorfer avatar May 13 '19 15:05 fkleedorfer

well i assume we can execute bash scripts after a checkout in jenkins, and i did not assume this was easy to do, if its really really reaallly hard we can also drop it and create some form of markdown how to instead (in a way that we wont forget when to update an ontology and how it is done)

quasarchimaere avatar May 13 '19 16:05 quasarchimaere