cancel
Showing results for 
Search instead for 
Did you mean: 

Groovy scripting - find and attach the file based on the current date and time stamp

Highlighted
Frequent Contributor

Groovy scripting - find and attach the file based on the current date and time stamp

Hi All,

 

It's possible to create groovy scripting to find the attachment with current file and folder based on the date and time format.

 

Share your thought. it would be more useful for my automation

 

Ex: Sample Folder :XX__16-08-2016
Sample File : XXX_Report-2016-08-16_21-32-03.PDF

 

Jenkins is not finding and attaching the current date and time file attachment.

 

If u know the syntax plz share it to us

 

Scenario :

 

 

I am looking for a alternative way to find the folder and path use groovy scripting

 

If any one know the solution plz share your thought,

2 REPLIES 2
Highlighted
Community Manager

Re: Groovy scripting - find and attach the file based on the current date and time stamp

Groovy Experts,

What can we suggest to Sandyapitester?

---------
Tanya Gorbunova
SmartBear Community Manager

Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
Highlighted
Community Hero

Re: Groovy scripting - find and attach the file based on the current date and time stamp

The question is unclear and does not have context.


Regards,
Rao.
New Here?
Join us and watch the welcome video:
Announcements