Skip to content

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

@natward42

Description

@natward42

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions