Azure-Player / azure.datafactory.devops

Azure DevOps Deployment Tasks for Azure Data Factory objects
MIT License
39 stars 21 forks source link

Not able to run on a Linux based server #96

Closed sauravrout closed 2 years ago

sauravrout commented 2 years ago

Describe the bug Your documentation says, it will be supported on Linux based agents, but I am getting error while running. https://github.com/SQLPlayer/azure.datafactory.tools#support

2022-07-06T15:45:19.2144775Z ##[section]Starting: Validate ADF JSON files 2022-07-06T15:45:19.2152891Z ============================================================================== 2022-07-06T15:45:19.2153192Z Task : Build Azure Data Factory code 2022-07-06T15:45:19.2153432Z Description : Validates all JSON files of ADF (v2) (adftools) 2022-07-06T15:45:19.2153637Z Version : 1.12.1145 2022-07-06T15:45:19.2153830Z Author : Kamil Nowinski (SQLPlayer) 2022-07-06T15:45:19.2154416Z Help : More Information 2022-07-06T15:45:19.2154734Z ============================================================================== 2022-07-06T15:45:19.2255414Z ##[error]The current operating system is not capable of running this task. That typically means the task was written for Windows only. For example, written for Windows Desktop PowerShell. 2022-07-06T15:45:19.2266463Z ##[section]Finishing: Validate ADF JSON files

To Reproduce Your script to reproduce the behaviour:

image

Screenshots

image

Version of PowerShell module of:

image

Provide all files to reproduce the issue

NowinskiK commented 2 years ago

I'm closing this as a duplicated issue to this one: #80