Pineapple will not do anything to help bring on labor. It is suggested that there is an enzyme in the core that may help soften the cervix however it's in such minimal quantities that you'd need to eat several cores in order to have any effect and even then its just theory.
I tried it and drank pineapple juice all it did was give me diarrhea xx im 40+2 at moment.xx