forked from IGDEXE/NodeGoat-JS
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathazure-pipelines-1.yml
More file actions
30 lines (26 loc) · 852 Bytes
/
azure-pipelines-1.yml
File metadata and controls
30 lines (26 loc) · 852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Node.js
# Build a general Node.js project with npm.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/javascript
trigger:
- main
pool:
vmImage: ubuntu-latest
steps:
- task: NodeTool@0
inputs:
versionSpec: '10.x'
displayName: 'Install Node.js'
- script: |
npm install
npm run build
displayName: 'npm install and build'
- task: Veracode@3
inputs:
ConnectionDetailsSelection: 'Credentials'
apiId: 'e23ef1b7cf1f434ca1da4e0f1b5b4c7c'
apiKey: 'e56ae3f1d14b459ad147ca77e1982402eadef3230b340143254e78a693c15e0a78771a4ff9eeefca33954679a3c372c554f860906c223d0cb2a51359a94070d8'
veracodeAppProfile: '$(system.teamProject)'
version: '$(build.buildNumber)'
filepath: '$(build.artifactstagingdirectory)'
maximumWaitTime: '360'