I'm working on a process where we create AWS artifacts (Fargate services) 
needed on a per-feature basis. I want to be able to create these artifacts, 
and then after a certain expiry period, delete them. So I want a job that 
will create/modify a properties file that looks like this. As features are 
added, I want to be able to add a line in the file.

Branch                                   Created
------------------------------------------------------
feature-dev-1234-blah-blah . 2018-02-14
feature-dev-2345-blah-blah . 2018-02-15

Let's say the expiry period is 3 days.

So I want a job that runs daily that will look at properties file created 
above, and if expiry period is met, will delete the artifacts for that 
feature. So on 2018-20-17, the feature-dev-1234-blah-blah artifacts will be 
deleted, and on 2018-02-18, the feature-dev-2345-blah-blah artifacts will 
be deleted. As artifacts are deleted, I'll need to modify the data and 
remove the corresponding feature/date key/value pair from the data.

What mechanism can I use to store this persistent data? I don't want to use 
a DB since this will be overkill.

Thanks!
Chris

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/6caa3b89-68da-43e7-8f90-9d70c80873c3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to