Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 569690

Summary: Netlify preview for specifications repository fails
Product: Community Reporter: Ivar Grimstad <ivar.grimstad>
Component: GitHubAssignee: Eclipse Webmaster <webmaster>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: chris.guindon
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Ivar Grimstad CLA 2020-12-14 03:30:48 EST
Hi,

The preview for specifications fails. See the deploy log: https://app.netlify.com/sites/jakartaee-specifications/deploys/5fd71ff01b416500077c8429

Ivar
Comment 1 Ivar Grimstad CLA 2020-12-17 02:02:58 EST
Another example: https://github.com/jakartaee/specifications/pull/315
Comment 2 Ivar Grimstad CLA 2020-12-17 05:00:17 EST
It is the `npm run disallow_robots_txt` command that fails. 

Can have something with Netlify not being able to find package.json in the website directory because it is looking for it in the Base Directory.
Comment 3 Christopher Guindon CLA 2020-12-17 09:12:17 EST
(In reply to Ivar Grimstad from comment #2)
> It is the `npm run disallow_robots_txt` command that fails. 
> 
> Can have something with Netlify not being able to find package.json in the
> website directory because it is looking for it in the Base Directory.

I will submit a fix for this shortely!
Comment 4 Christopher Guindon CLA 2020-12-17 09:25:40 EST
This should be fix now: https://github.com/jakartaee/jakarta.ee/commit/bd516a2fd05f22131fdde4a42cfc0aa4e697a1a2

I believe we fetch the latest content from the src file when building previews for the specification section. Triggering a new build should fix the problem.

Please let us know if you are still experiencing issues!