Explain how you would configure a Jenkins pipeline to automatically run your regression suite upon a new code commit.