Folder icon

Tags / Sed

Using sed in Jenkins Groovy pipeline

I spent some time trying to figure out how to fix unexpected slash char error in my pipeline. My aim was to change some value in a config file after checking out a Git repository. I have a Jenkins pipeline and I used sed to perform the substitution. The pipeline wouldn't even compile because of Groovy's way of…
Posted on