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

Pipeline step runs successfully but no change to code on branch #35

Open
natward42 opened this issue Jan 16, 2023 · 0 comments
Open

Pipeline step runs successfully but no change to code on branch #35

natward42 opened this issue Jan 16, 2023 · 0 comments

Comments

@natward42
Copy link

I am trying to use this to replace the path of some databricks notebook paths in a json files. The json files will have fields like this:
"notebookPath": "/Repos/<username>/<Repo>/notebooks/<path to notebook ...>",
I just need to change this to:

"notebookPath": "/notebooks/<path to notebook ...>",

I've used the following configuration:

`
steps:

  • task: knom.regexreplace-task.regex-replace.RegexReplace@3
    displayName: 'RegEx Find & Replace: Replace Databricks Repo Paths in Pipelines'
    inputs:
    InputSearchPattern: 'pipeline/.json'
    FindRegex: '(/Repos/(.
    )/notebooks)/'
    ReplaceRegex: '$1(notebooks)'
    UseUTF8: false
    UseRAW: false
    `

But no change appears in the code on the branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant