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"""
[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)
4 freelancers are bidding on average $24 for this job
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