Azure DevOps Databricks管道发行版以[错误]退出,Bash以代码“ 1”退出

时间:2019-10-16 11:05:43

标签: azure-devops azure-databricks

我的Azure Devops管道失败,并显示[错误] Bash以代码“ 1”退出。

脚本如下:

databricks workspace mkdirs /build
databricks workspace import --language PYTHON --format SOURCE --overwrite _databricks-example-repo/notebook/$(notebook_name)-$(Build.SourceVersion).py /build/$(notebook_name)-$(Build.SourceVersion).py

完整的错误消息如下:

2019-10-16T10:41:42.2582015Z ========================== Starting Command Output ===========================
2019-10-16T10:41:42.2583038Z [command]"C:\Program Files\Git\bin\bash.exe" --noprofile --norc /d/a/_temp/89026089-f163-495a-92ea-285e19705127.sh
2019-10-16T10:41:42.7609581Z Error: InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `C:\hostedtoolcache\windows\Python\3.7.4\x64\Scripts\databricks configure`
2019-10-16T10:41:43.1620919Z Error: InvalidConfigurationError: You haven't configured the CLI yet! Please configure by entering `C:\hostedtoolcache\windows\Python\3.7.4\x64\Scripts\databricks configure`
2019-10-16T10:41:43.1991465Z ##[error]Bash exited with code '1'.
2019-10-16T10:41:43.2007318Z ##[section]Finishing: Upload Notebook

任何想法

1 个答案:

答案 0 :(得分:0)

过去两天我一直在尝试解决此问题。我终于意识到问题出在我输入了错误的令牌ID。在配置系统时,我的建议是理所当然的..我100%地确定令牌ID并不是问题,但是当正确重新输入令牌ID时,它可以工作。我对自己很沮丧。 谢谢您的贡献