Im writing a batch script that calls a python script, and then calling a jenkins URL. I want to pass the jenkins some results from the python script (string results), I dont want to use the print to a tmp file and then load it to a batch vars, because in the script I sometimes print something like "File is opened, program closed. please try again!"
python gen_build_summary_info.py
set CORE = ????
set BUILD = ?????
java -jar y:\DTS_tests_run\Compiler\clean_up\jenkins-cli.jar -s http://***** build new_build_summary_report -p BUILD=%BUILD% -p CORE=%CORE%
any ideas? thanks