Tried to remove triggers { pollSCM('H/5 * * * *') } and use checkout
function as you describe, but then it is not triggered if there are changes
in the branch.
Am Dienstag, 5. Mai 2020 17:11:13 UTC+2 schrieb Aryo Kusumo:
>
> Maybe you could try this. It's works for me.
>
> checkout([$class:
Maybe you could try this. It's works for me.
checkout([$class: 'GitSCM', branches: [[name: '$branch_name']],
extensions: [[$class: 'WipeWorkspace'], url: '$git_url']]])
On Tue, 5 May 2020, 20:15 Den, wrote:
> Hello,
>
> I have a pipeline which should only build if there are changes in branch