Azure Pipelines | TFS 2018 | TFS 2017 | TFS 2015
Use this task in a build or release pipeline to run gulp tasks using the Node.js streaming task based build system.
# gulp # Run the Node.js streaming task-based build system. - task: gulp@1 inputs: #gulpFile: 'gulpfile.js' #targets: # Optional #arguments: # Optional #workingDirectory: # Optional #gulpjs: # Optional #publishJUnitResults: false # Optional #testResultsFiles: '**/TEST-*.xml' # Required when publishJUnitResults == True #testRunTitle: # Optional #enableCodeCoverage: false #testFramework: 'Mocha' # Optional. Options: mocha, jasmine #srcFiles: # Optional #testFiles: 'test/*.js' # Required when enableCodeCoverage == True
|gulp file path||Relative path from the repo root to the gulp script that you want to run. The default value is
|gulp task(s)||(Optional) Space delimited list of tasks to run. If you leave it blank, the default task will run.|
Additional arguments passed to gulp.
|Working directory||Current working directory when the script is run. If you leave it blank, the working directory is the folder where the script is located.|
|gulp.js location||gulp.js to run. The default value is
On the Build tab:
Run your script.
Build a Node.js app
This task is open source on GitHub. Feedback and contributions are welcome.
Q & A
Do I need an agent?
You need at least one agent to run your build or release. Get an agent for Linux, macOS, or Windows.
I can't select a default agent pool and I can't queue my build or release. How do I fix this?
See Agent pools.
We'd love to hear your thoughts. Choose the type you'd like to provide:
Our feedback system is built on GitHub Issues. Read more on our blog.