خرید بک لینک

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 the root cause and respective fix. Checked the shell in suse linux and it is set to /bin/bash system wide.

Please help.

It is urgent.

Thanks. Nishant

asked 1 min ago

برچسب: bash script ruing directory,bash script ruing in background,bash script ruing commands,bash script ruing,bash script ruing python,bash script ruing another script,bash script ruing time,bash script ruing command in background,bash script ruing as root,bash script ruing program, نویسنده: استخدام کار تاريخ: چهارشنبه 20 مرداد 1395 ساعت: 11:33

صفحه بندی