Long-term photometric monitoring pipeline for automated variable stars detection and analysis