Python json.loads returning JSONDecodeError Expecting ',' delimiter

Python json.loads returning JSONDecodeError Expecting ',' delimiter Problem Description: I am trying to parse a JSON raw string using json.loads but its throwing following error JSONDecodeError at /octopus/entries/53/test_sample_job/ Expecting ‘,’ delimiter: line 3 column 27 (char 48) My json string data is as follows and I am getting error when i did json.loads(data) data = … Read more

How do I run sed in TCL

How do I run sed in TCL Problem Description: I am trying to use TCLs builtin exec procedure to run the following sed shell command: sed -i ‘s/"VALUE.${name}">.*</"VALUE.${name}">${value}</’ ${dir}/imp.xml However when I pass it to exec tcl errors out with sed: -e expression #1, char 1: unknown command: `” no idea how to interpret this. … Read more

How do I run sed in TCL

How do I run sed in TCL Problem Description: I am trying to use TCLs builtin exec procedure to run the following sed shell command: sed -i ‘s/"VALUE.${name}">.*</"VALUE.${name}">${value}</’ ${dir}/imp.xml However when I pass it to exec tcl errors out with sed: -e expression #1, char 1: unknown command: `” no idea how to interpret this. … Read more

sed command in Jenkins script

sed command in Jenkins script Problem Description: I have a multiline sed command that works fine in a script that I run locally, but in a Jenkins build script gives me an error. This is the command: sed -i -r -e "s/(project(.* VERSIONs+)[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}s*)/1$RELEASE_MAJOR.$RELEASE_MINOR.$RELEASE_MICRO )/" -i -r -e "s/(set(.* APPMANAGER_MAJOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MAJOR )/" -i -r -e "s/(set(.* APPMANAGER_MINOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MINOR … Read more

sed command in Jenkins script

sed command in Jenkins script Problem Description: I have a multiline sed command that works fine in a script that I run locally, but in a Jenkins build script gives me an error. This is the command: sed -i -r -e "s/(project(.* VERSIONs+)[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}s*)/1$RELEASE_MAJOR.$RELEASE_MINOR.$RELEASE_MICRO )/" -i -r -e "s/(set(.* APPMANAGER_MAJOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MAJOR )/" -i -r -e "s/(set(.* APPMANAGER_MINOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MINOR … Read more

sed command in Jenkins script

sed command in Jenkins script Problem Description: I have a multiline sed command that works fine in a script that I run locally, but in a Jenkins build script gives me an error. This is the command: sed -i -r -e "s/(project(.* VERSIONs+)[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}s*)/1$RELEASE_MAJOR.$RELEASE_MINOR.$RELEASE_MICRO )/" -i -r -e "s/(set(.* APPMANAGER_MAJOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MAJOR )/" -i -r -e "s/(set(.* APPMANAGER_MINOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MINOR … Read more

sed command in Jenkins script

sed command in Jenkins script Problem Description: I have a multiline sed command that works fine in a script that I run locally, but in a Jenkins build script gives me an error. This is the command: sed -i -r -e "s/(project(.* VERSIONs+)[0-9]{1,2}.[0-9]{1,2}.[0-9]{1,2}s*)/1$RELEASE_MAJOR.$RELEASE_MINOR.$RELEASE_MICRO )/" -i -r -e "s/(set(.* APPMANAGER_MAJOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MAJOR )/" -i -r -e "s/(set(.* APPMANAGER_MINOR_VERSIONs+)[0-9]{1,2}s*)/1$RELEASE_MINOR … Read more

We use cookies in order to give you the best possible experience on our website. By continuing to use this site, you agree to our use of cookies.
Accept
Reject