I ensured that I am able to access the "http://localhost:4200" after performing "ng serve".
To access Jenkins, I used Jenkins module from NPM. https://www.npmjs.com/package/jenkins
Installed the same using npm install jenkins
Then modified the app.component.ts with the following code to pull information from Jenkins.
Then I tried to do an ng serve which resulted in the following error.
ERROR in ./node_modules/papi/lib/client.js Module not found: Error: Can't resolve 'http' in '\Study1Jenkins\node_modules\papi\lib' ERROR in ./node_modules/papi/lib/client.js Module not found: Error: Can't resolve 'https' in '\Study1Jenkins\node_modules\papi\lib' i ｢wdm｣: Failed to compile.
If somebody can give a hint on what has gone wrong, that will be really helpful.
Always look on the bright side of life. At least this ad is really tiny:
Programmatically Create PDF Using Free Spire.PDF with Java