checking if jenkins build is triggered