1

This is my YAML.

The notebooks are not deployed. the pipeline ran successfully but the notebooks are not deployed. What am I doing wrong ?

enter image description here

Blue Clouds
  • 7,295
  • 4
  • 71
  • 112

1 Answers1

0

Your notebooksFolderPath seems to be incorrect either use $(Pipeline.Workspace) or $(Build.SourcesDirectory) variables to get the notebooks

- task: deploynotebooks@0
  displayName: 'Deploy Databricks notebooks'
  inputs:
    notebooksFolderPath: '$(Pipeline.Workspace)/s/<path-to-notebooks-in-repository>'
    workspaceFolder: '/Shared'

or

- task: deploynotebooks@0
  displayName: 'Deploy Databricks notebooks'
  inputs:
    notebooksFolderPath: '$(Build.SourcesDirectory)/<path-to-notebooks-in-repository>'
    workspaceFolder: '/Shared'

Here's the build agent typical pathes:

$(Build.SourcesDirectory) = /home/vsts/work/1/s
$(Build.BinariesDirectory) = /home/vsts/work/1/b
$(Pipeline.Workspace) = /home/vsts/work/1
Roozbeh
  • 523
  • 4
  • 11