Jenkins trigger build if shared library changes
This issue can be solved by using legacy SCM option. Go to Jenkins -&gt; Manage Jenkins -&gt; Configure System and select &quot;Legacy SCM&quot; option for share libs. this will resolve the issue completely, It worked for us.