Skip to content

Skip task if folder in git repo not exists #5074

@KIRY4

Description

@KIRY4

Feature request

Hello everyone. Is it possible somehow to skip step in pipeline if some folder not exists in git repo which was fetched in pervious step?

Use case

We have several types of repos. With following folder structure in repo.

  1. *-api, *-service,
  2. *-api, *-entity, *-service

For 1st type in my pipeline I have two gradle tasks with specific parameters for each task.
For 2nd type I want to add one more gradle task which will be run only if *-entity folder exists.

Maybe it is already to possible to do something like that with conditions or when?

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/featureCategorizes issue or PR as related to a new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions