back soft

مطالب مرتبط با «bash script running python» در back soft | نویسنده: استخدام کار

bash script running correctly in linux machine but not when executed via jenkins from a windows machine

Vote count: 0 I have a bash script as below: ------------------------------ #!/bin/bash VAR_A=$(echo "cat //artifact/fileName" | xmllint --shell BuildResult.xml | sed '/^/ >/d' | sed 's/]*.//g' | tr -d 'n' | awk -F"-------" '{print $3}') echo $VAR_A ------------------------------ I have jenkins installed on a windows machine and via cygwin openssh, I am coecting to the suse linux machine in which this script is residing. When I am calling the above script via an ANT sshexec command configured in Jenkins, it is ruing ok but no output. On the other hand, when I am ruing the same script from within the SUSE Linux system, it is echoing current result. I am not able to figure...

ادامه مطلب

برچسب‌های مرتبط

bash script running directory | bash script running in background | bash script running commands | bash script running | bash script running python | bash script running another script | bash script running time | bash script running command in background | bash script running as root | bash script running program