rpm bash uninstall inside Jenkins

currently have this command in a declarative Jenkinsfile

sshCommand remote: remote, command: """myvery=\$(rpm -qa | grep prog)&&if [ !-d $myver; then rpm -e $myver; fi"""

Error is

[login to view URL]: No such property: myver for class WorkFlowScript

Please note if you help me get it going I will leave 5 stars and pay prompt with very nice comments (something I enjoy doing very much)

Skills: Bash Scripting, Jenkins, Script Install, Scripting, Shell Script

See more: snoopy class, class interface actionscript, layer class interface score loaded, remove jenkins ubuntu, how to completely remove jenkins from centos 7, uninstall jenkins windows cmd, install jenkins centos, remove jenkins from ec2, remove jenkins from amazon linux, uninstall jenkins.war linux, how to uninstall jenkins war file in linux, bash linux ftp, cupcakes class mascot, marketing class, leave management detailed design, google maps form inside marker, cgi post bash environment dont forget, class automatic payment alertpay, design cover page online class project, php class search inside pdf files

About the Employer:
( 227 reviews ) Lyndhurst, United States

Project ID: #24590384

Awarded to:


Hi There!! I have been working as Linux Administrator for 6+ years and have written many shell scripts and Ansible Playbook for automating projects. I have been working in the vRealize Automation tool which has various More

$25 USD in 1 day
(11 Reviews)

4 freelancers are bidding on average $24 for this job


Hello im a Devops Specialist. I understand your requirement to remove rpms if it exists on remote. It will be good if you share your declarative pipeline so i can test and run in my local. Relevant Skills and Experien More

$25 USD in 1 day
(0 Reviews)

This will take only 5-10 mins, as this is a simple error, i have been working on shell scripts and linux env for last 10 years.

$20 USD in 1 day
(0 Reviews)

Dear Employer, I have extensive experience working on Jenkins pipelines. Perhaps we could help each other. Could you please let me know your availability so that we can proceed further? Thank you, Phani

$24 USD in 1 day
(0 Reviews)