Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

working_directory value #11

Open
svarukala opened this issue Mar 20, 2020 · 0 comments
Open

working_directory value #11

svarukala opened this issue Mar 20, 2020 · 0 comments

Comments

@svarukala
Copy link

In my testing with a repo that has the SPFx project in the root folder, when I set working_directory to empty value, the pipeline was failing.

Failing at this job: SPFx package solution 
Starting: SPFx build
==================================================
Task         : gulp
Description  : Run the gulp Node.js streaming task-based build system
Version      : 1.166.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/gulp
===================================================
##[error]Unhandled: Not found gulpFile: /gulpfile.js
Finishing: SPFx build

Then I changed the working_directory value to '.'. Then the pipeline ran successfully.

Starting: SPFx build
==============================================================================
Task         : gulp
Description  : Run the gulp Node.js streaming task-based build system
Version      : 1.166.0
Author       : Microsoft Corporation
Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/build/gulp
==============================================================================
/usr/local/bin/gulp build --gulpfile /home/vsts/work/1/s/gulpfile.js
Build target: DEBUG
[01:31:25] Using gulpfile ~/work/1/s/gulpfile.js
[01:31:25] Starting gulp
[01:31:25] Starting 'build'...
[01:31:25] Starting subtask 'configure-sp-build-rig'...
[01:31:25] Finished subtask 'configure-sp-build-rig' after 4.06 ms
[01:31:25] Starting subtask 'pre-copy'...
[01:31:25] Finished subtask 'pre-copy' after 2.62 ms
[01:31:25] Starting subtask 'copy-static-assets'...
[01:31:25] Starting subtask 'sass'...
[01:31:25] Finished subtask 'copy-static-assets' after 27 ms
[01:31:25] Finished subtask 'sass' after 160 ms
[01:31:25] Starting subtask 'tslint'...
[01:31:26] [tslint] tslint version: 5.12.1
[01:31:26] Starting subtask 'tsc'...
[01:31:26] [tsc] typescript version: 3.3.4000
[01:31:29] Finished subtask 'tsc' after 3.18 s
[01:31:29] Finished subtask 'tslint' after 4.04 s
[01:31:29] Starting subtask 'post-copy'...
[01:31:29] Finished subtask 'post-copy' after 94 μs
[01:31:29] Finished 'build' after 4.22 s
[01:31:30] ==================[ Finished ]==================
[01:31:30] Project spfx-projs version:0.0.1
[01:31:30] Build tools version:3.12.1
[01:31:30] Node version:v10.19.0
[01:31:30] Total duration:7.04 s

Finishing: SPFx build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant