This study proposes a machine-learning-based framework for detecting mechanical damage in pipelines, utilizing physics-informed datasets collected from simulations for mechanical damage. The framework provides an effective workflow from dataset generation to damage detection and identification for three types of pipeline events: welds, clamps, and corrosion defects. While the study initially focused on optimizing the CNN structure using various advanced optimizers, it also investigated the impact of sensing systems on data classification and the effect of noise on classification performance. The study's analysis highlights the importance of selecting the appropriate sensing system for the specific application. The authors also found that the proposed framework is robust to experimentally relevant levels of noise, suggesting its applicability in real-world scenarios where noise is present. Overall, this study contributes to the development of a more reliable and effective method for detecting mechanical damage in pipelines. The proposed framework provides an effective workflow for damage detection and identification, and the findings on the impact of sensing systems and noise on classification performance add to its robustness and reliability.