Skip to content

skipped files error the azure devops pipeline #383

Description

@LeonB87

Hi,

Were implementing the az DevopsKit to validate our ARM templates in the pipeline. I'm pointing the Module to a folder containing all our ARM-Templates.

image

There are a few templates which are not supported yet. unfortunately, this causes the pipeline to fail completely.

##[error]One or more files were skipped during the scan. Either the files are invalid as ARM templates or those resource types are currently not supported by this command.
image

I've tried adding the "FailTaskIfNoControlsScanned" environmental variable to prevent it from failing, but that doesn't seem to apply.

image

Is there a way to prevent it from failing besides excluding those files? If not, then that would be a feature-request :-)

Regards,
Léon

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions