yuk discharge

Katherine
At 37 weeks I needed to have an internal yesterday due to regular contractions, every three minutes! 
THey said I was 2cms and50% effaced 
Today I've had discharge that is kind of like mucous but also white and clumpy!!! 
Any advice, is this things moving along or just me getting my hopes up??? 
Although this is 4th baby I have never gone into labour so it's all new to me