Skip to content
This repository has been archived by the owner on Jun 30, 2022. It is now read-only.

Commit

Permalink
Replace the path of the pipeline with the root (#1841)
Browse files Browse the repository at this point in the history
  • Loading branch information
Batta32 authored and darrenj committed Jul 13, 2019
1 parent f4f44a7 commit fa340ad
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ steps:
displayName: 'npm install'
inputs:
# if your working directory is not root, you may change the following path
workingDir: '<%=assistantName%>'
workingDir: './'
verbose: false

- task: Npm@1
displayName: 'npm run build'
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: '<%=assistantName%>'
workingDir: './'
verbose: false
customCommand: 'run build'

Expand All @@ -34,7 +34,7 @@ steps:
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: '<%=assistantName%>'
workingDir: './'
verbose: false
customCommand: 'run test-coverage-ci'

Expand All @@ -43,13 +43,13 @@ steps:
inputs:
testResultsFiles: 'test-results.xml'
# if your working directory is not root, you may change the following path
searchFolder: '<%=assistantName%>'
searchFolder: './'
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: 'publish code coverage'
inputs:
codeCoverageTool: Cobertura
# if your working directory is not root, you may change the following paths
summaryFileLocation: '<%=assistantName%>/coverage/cobertura-coverage.xml'
reportDirectory: '<%=assistantName%>/coverage/'
summaryFileLocation: './coverage/cobertura-coverage.xml'
reportDirectory: './coverage/'
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ steps:
displayName: 'npm install'
inputs:
# if your working directory is not root, you may change the following path
workingDir: '<%=skillName%>'
workingDir: './'
verbose: false

- task: Npm@1
displayName: 'npm build'
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: '<%=skillName%>'
workingDir: './'
verbose: false
customCommand: 'run build'

Expand All @@ -35,7 +35,7 @@ steps:
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: '<%=skillName%>'
workingDir: './'
verbose: false
customCommand: 'run test-coverage-ci'

Expand All @@ -44,13 +44,13 @@ steps:
inputs:
testResultsFiles: 'test-results.xml'
# if your working directory is not root, you may change the following path
searchFolder: '<%=skillName%>'
searchFolder: './'
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: 'publish code coverage'
inputs:
codeCoverageTool: Cobertura
# if your working directory is not root, you may change the following paths
summaryFileLocation: '<%=skillName%>/coverage/cobertura-coverage.xml'
reportDirectory: '<%=skillName%>/coverage/'
summaryFileLocation: './coverage/cobertura-coverage.xml'
reportDirectory: './coverage/'
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ steps:
displayName: 'npm install'
inputs:
# if your working directory is not root, you may change the following path
workingDir: 'sample-assistant'
workingDir: './'
verbose: false

- task: Npm@1
displayName: 'npm run build'
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: 'sample-assistant'
workingDir: './'
verbose: false
customCommand: 'run build'

Expand All @@ -34,7 +34,7 @@ steps:
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: 'sample-assistant'
workingDir: './'
verbose: false
customCommand: 'run test-coverage-ci'

Expand All @@ -43,13 +43,13 @@ steps:
inputs:
testResultsFiles: 'test-results.xml'
# if your working directory is not root, you may change the following path
searchFolder: 'sample-assistant'
searchFolder: './'
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: 'publish code coverage'
inputs:
codeCoverageTool: Cobertura
# if your working directory is not root, you may change the following paths
summaryFileLocation: 'sample-assistant/coverage/cobertura-coverage.xml'
reportDirectory: 'sample-assistant/coverage/'
summaryFileLocation: './coverage/cobertura-coverage.xml'
reportDirectory: './coverage/'
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ steps:
displayName: 'npm install'
inputs:
# if your working directory is not root, you may change the following path
workingDir: 'sample-skill'
workingDir: './'
verbose: false

- task: Npm@1
displayName: 'npm build'
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: 'sample-skill'
workingDir: './'
verbose: false
customCommand: 'run build'

Expand All @@ -35,7 +35,7 @@ steps:
inputs:
command: custom
# if your working directory is not root, you may change the following path
workingDir: 'sample-skill'
workingDir: './'
verbose: false
customCommand: 'run test-coverage-ci'

Expand All @@ -44,13 +44,13 @@ steps:
inputs:
testResultsFiles: 'test-results.xml'
# if your working directory is not root, you may change the following path
searchFolder: 'sample-skill'
searchFolder: './'
failTaskOnFailedTests: true

- task: PublishCodeCoverageResults@1
displayName: 'publish code coverage'
inputs:
codeCoverageTool: Cobertura
# if your working directory is not root, you may change the following paths
summaryFileLocation: 'sample-skill/coverage/cobertura-coverage.xml'
reportDirectory: 'sample-skill/coverage/'
summaryFileLocation: './coverage/cobertura-coverage.xml'
reportDirectory: './coverage/'

0 comments on commit fa340ad

Please sign in to comment.