Hey people, I have a question? I’m setting up an Azure DevOps pipeline for a Strapi project but I’m missing something somewhere, getting these errors ##[warning]Couldn’t find a debug log in the cache or working directory & ‘strapi’ is not recognized as an internal or external command here is a sample of the pipeline :
trigger:
- staging
pool:
vmImage: windows-lateststeps:
task: Npm@1
displayName: ‘NPM Install’
inputs:
command: install
verbose: falsetask: Npm@1
displayName: ‘NPM Frontend Build’
inputs:
command: custom
workingDir: ‘$(Build.SourcesDirectory)/frontend/’
verbose: false
customCommand: ‘run build’task: Npm@1
displayName: ‘NPM Backend Build’
inputs:
command: custom
workingDir: ‘$(Build.SourcesDirectory)/backend/’
verbose: false
customCommand: ‘run build’task: Npm@1
displayName: ‘NPM Test’
inputs:
command: custom
verbose: false
customCommand: testtask: ArchiveFiles@2
inputs:
rootFolderOrFile: ‘$(Build.BinariesDirectory)’
includeRootFolder: true
archiveType: ‘zip’
archiveFile: ‘$(Build.ArtifactStagingDirectory)/$(Build.BuildId).zip’
replaceExistingArchive: truetask: PublishBuildArtifacts@1
inputs:
PathtoPublish: ‘$(Build.ArtifactStagingDirectory)’
ArtifactName: ‘artifact’
publishLocation: ‘Container’
Anything I should add, remove to get it working.
Thanks.