Skip to content

CI/CD Arch Unit massive use #875

Answered by codecholeric
gdcmarinho asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, one possibility would also be to include it into your CI/CD pipeline on an artifact level 🤔 I.e. all the JARs produced on CI are passed on to some other job in the pipeline that does effectively

JavaClasses classes = new ClassFileImporter().importJar(producedJar);
// evaluate all rules on producedJar

Could also just have a determined input folder and check all the JARs in there, so the pipeline job would be independent on the concrete projects and would not need to update dependencies, etc., but whatever the previous job supplies as input will be checked 🤷‍♂️

Otherwise you can follow the approach that @nbrugger-tgm mentioned, e.g. create a project where you depend on the produced ar…

Replies: 3 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@gdcmarinho
Comment options

@gdcmarinho
Comment options

@codecholeric
Comment options

@gdcmarinho
Comment options

@codecholeric
Comment options

Answer selected by gdcmarinho
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants