Skip to content

Build scripts: run checks only when commit changes files with certain type #423

Closed
@php-coder

Description

@php-coder

Most of our checks are checking only files with a certain type. We'll have a benefit if we run them only when user modified files with certain types.

Examples:

  • sortpom checks only pom.xml
  • bootlint checks only *.html files
  • html5validator checks only *.html files
  • jasmine needs to be run only when we changed *.js
  • license plugin checks only *.java and *.groovy files
  • probably we need to run enforcer only when pom.xml has changed
  • codenarc should run only for *.groovy files
  • checkstyle/pmd should be run only for *.java (and maybe *.properties) files
  • we need to check Ansible playbooks only when they were modified (Build scripts: add syntax checking for Ansible playbooks #422)

Metadata

Metadata

Assignees

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions