“cara mengonversi skrip shell ke file yaml” Kode Jawaban

cara mengonversi skrip shell ke file yaml

echo ""
echo "Step1 - Verify Application"
tempfile=$(mktemp)

code1=`curl -u $1:$2 -s ""$3"/ReleaseManagement/Services/VerifyApplication?appName="$4"&appVersion="$5"" --write-out '%{http_code}' -o $tempfile`

    if [[ $code1 == 200  ]] ; then
         echo "Return code is $code1, Application status looks good"
    elif [[ $code1 == 401  ]]; then
         echo "Return code is $code1, Check the credentials"
         exit 100;
    else
         echo "Return code is $code1, check the issue based on httpd return code"
         errcode1=`curl -u $1:$2 -s ""$3"/ReleaseManagement/Services/VerifyApplication?appName="$4"&appVersion="$5""`
         echo "$errcode1"
         exit 100;
    fi
rm -f $tempfile
sowjanya reddy

skrip shell untuk mengonversi yaml

date=date '+%d_%m_%Y_05_'
#echo $date
cd /opt/Logs/dmApp
logfile=ClientProv_30xcf_$date*.log
#echo $logfile
cat $logfile |grep "Loading InRoamer Details.."
Bewildered Bee

Jawaban yang mirip dengan “cara mengonversi skrip shell ke file yaml”

Pertanyaan yang mirip dengan “cara mengonversi skrip shell ke file yaml”

Lebih banyak jawaban terkait untuk “cara mengonversi skrip shell ke file yaml” di Shell/Bash

Jelajahi jawaban kode populer menurut bahasa

Jelajahi bahasa kode lainnya