🐞 Bug report
Command (mark with an x)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
Is this a regression?
Not that I know off
Description
A clear and concise description of the problem...
When running ng build via Jenkins on Windows, paths defined in angular.jsons assets does not get included.
The root cause of the issue seems to be with brackets ( & ) in the path. Using Process Monitor, i found the paths called where not found.
They look like this:
C:\Program Files [(]x86[)]\Jenkins\workspace\Uti...
🔬 Minimal Reproduction
Create folder: C:\test (x86)\
Open CMD (admin elevated)
Run commands:
cd "C:\text (x86)\"
ng new helloworld
cd helloworld
ng build --aot
🔥 Exception or Error
None in the CLI, neither in normal or verbose mode
🌍 Your Environment
Angular CLI: 8.0.6
Node: 10.15.3
OS: win32 x64
Angular: 8.1.0
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router
Package Version
-----------------------------------------------------------
@angular-devkit/architect 0.800.6
@angular-devkit/build-angular 0.800.6
@angular-devkit/build-optimizer 0.800.6
@angular-devkit/build-webpack 0.800.6
@angular-devkit/core 8.0.6
@angular-devkit/schematics 8.0.6
@angular/cdk 8.0.2
@angular/cli 8.0.6
@angular/fire 5.2.1
@angular/material 8.0.2
@ngtools/webpack 8.0.6
@schematics/angular 8.0.6
@schematics/update 0.800.6
rxjs 6.5.2
typescript 3.4.5
webpack 4.30.0
Anything else relevant?
OS: Window Server 2016
🐞 Bug report
Command (mark with an
x)Is this a regression?
Not that I know off
Description
A clear and concise description of the problem...When running
ng buildvia Jenkins on Windows, paths defined inangular.jsons assets does not get included.The root cause of the issue seems to be with brackets
(&)in the path. Using Process Monitor, i found the paths called where not found.They look like this:
C:\Program Files [(]x86[)]\Jenkins\workspace\Uti...🔬 Minimal Reproduction
Create folder:
C:\test (x86)\Open CMD (admin elevated)
Run commands:
🔥 Exception or Error
None in the CLI, neither in normal or verbose mode
🌍 Your Environment
Anything else relevant?
OS: Window Server 2016