add patterns.json to artifact