Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkinsfile: filter stages based on path #612

Closed
wants to merge 1 commit into from

Commits on Oct 11, 2024

  1. jenkinsfile: filter stages based on path

    Ideally we would want to trigger Jenkins build based on the path where
    change occurred. Unfortunately this is not supported by Jenkins. As a
    workaround we are conditionally executing steps if the change occured in
    the apps/connector/ path. Prior to this we need to fetch the changelog
    diff between current branch and target branch to understand if there was
    a change present in the target dir and if we need to run all stages.
    The population of changelog is needed just the first time the PR is
    opened and in the subsequent steps we don't need this.
    
    Referenced issue: #590
    
    Signed-off-by: markoburcul <marko@status.im>
    markoburcul committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    40f0155 View commit details
    Browse the repository at this point in the history