Bug 537954 - Enabling Javadoc frames in Jenkins
Summary: Enabling Javadoc frames in Jenkins
Status: ASSIGNED
Alias: None
Product: CDT
Classification: Tools
Component: cdt-doc (show other bugs)
Version: Next   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jonah Graham CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-15 05:46 EDT by Jonah Graham CLA
Modified: 2020-09-04 15:16 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2018-08-15 05:46:20 EDT
The CDT project (Bug 537924) has recently started building the Javadocs for CDT in Jenkins (https://ci.eclipse.org/cdt/job/cdt-master-javadoc/javadoc/).

Unfortunately the Frames don't work because of Jenkins Content Security Policy (https://issues.jenkins-ci.org/browse/JENKINS-32619).

There is a workaround on https://wiki.jenkins.io/display/JENKINS/Configuring+Content+Security+Policy#ConfiguringContentSecurityPolicy-JavadocPlugin but I don't know the security implications of making this change.

Is this OK to do for CDT? 

If not (or either way) is this the best way to publish the Javadocs? The Javadocs here are for all the code, not just the public API of CDT.

Thanks,
Jonah
Comment 1 Frederic Gurr CLA 2018-08-15 06:17:33 EDT
While the workaround might not be a big security issue, we would like to avoid exceptions.

Did you consider the other workarounds mentioned in https://issues.jenkins-ci.org/browse/JENKINS-32619 ?
- using the non-framed Javadoc pages
- using the Publish HTML plugin
Comment 2 Jonah Graham CLA 2018-08-15 06:43:02 EDT
Thanks for getting back to me so quick. We will find another option. At the moment we are making do with just no-frames option.
Comment 3 Jonah Graham CLA 2018-09-19 17:38:47 EDT
I was unrealistic targeting 9.5.3, it is still very much a priority for this year, apologies for the delay.
Comment 4 Jonah Graham CLA 2018-12-19 14:51:31 EST
I will revisit this bug in the coming week to make an appropriate update to target milestone.
Comment 5 Jonah Graham CLA 2019-07-11 11:35:57 EDT
This is stalled by move to JIRO