Previously I was trying to use multibranch pipeline for gitlab repository which has multiple branches, but as there is no way to configure webhook and save changes for individual branch pipeline, I moved second approach which is using Normal pipeline for same repository but when I make any changes to branches other than master it does not executes stages from Jenkins pipeline and shows this message :
refs/heads/*:refs/remotes/origin/* skipping resolution of commit remotes/origin/master, since it originates from another repository -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/df5e50a8-626f-474c-98e7-7e4605de500c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.