How to verify if directories exist on remote server from jenkinsfile?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to verify if directories exist on remote server from jenkinsfile?

Faad Sayaou
Hi All, 
I have 4 directories on my remote server and I will like to verify if the directories exist on the remote server. If not then create these directories. 

I already enabled key based login and I will like to know how to check from my jenkiins.


Best regards

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/50de8d98-0c2a-418e-87ba-20f69e71fc6e%40googlegroups.com.