How do I get Jenkins to build on push to a BitBucket git repository?

后端 未结 7 1136
一个人的身影
一个人的身影 2020-12-12 18:21

I have a git repository hosted on BitBucket, and have set up SSH authentication between the repository and my Jenkins server. I can build on Jenkins manually, but cannot ge

7条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-12 18:43

    I have our Jenkins instance set up to poll the repository every minute. Is that not frequent enough for your needs?

    Our Jenkins configuration:

    Build Triggers > Poll SCM = Checked

    Build Triggers > Poll SCM > Schedule =

    # every 1 minute
    */1 * * * *
    

提交回复
热议问题