The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to compare files using scriptrunner in a pre-hook ?

Margaria Vince
January 17, 2023

Hello, I am currently working on a pre-hook that have the purpose of checking files and executing a regex based on the files found. Something similar to this example :

if conanfile.txt

Regex A here

else

Regex B.

 

I can't seems to make it work and i'm kinda lost, is this actually possible ?

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Jeroen Poismans
Community Champion
February 6, 2023
TAGS
AUG Leaders

Atlassian Community Events