Tuesday, 2 May 2017

sed fails when running during jenkins process

I'm running a script that works locally. But when I run the script during our jenkins build process sed doesn't work.

this is my code I verified the path is correct. The file is there. sed -i '' "s|$line|var bagVer = $PACKAGE_VERSION;|" "$PWD"

sed: can't read s|var bagVer = "1.53.0";|var bagVer = \"1.58.0\";|: No such file or directory

I feel like this has something to do with my syntax. But this works locally, so what could I be doing wrong?



via Craig

No comments:

Post a Comment