skip scheduled build with same commit id as previous build - configure it in
I am trying to configure to cancel a scheduled build if the Commit ID is equal as the previous build, something similar as the post:
https://help.appveyor.com/discussions/questions/5016-skip-scheduled-build-with-same-commit-id-as-previous-build
but I don't know how to implement it.
I want to define it directly on the UI in the "init script" without the need of calling any external file.
Is there any way to do it?
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
1 Posted by adriana.oliva.r... on 22 May, 2020 12:26 PM
What I have configured so far is in AppVeyor UI / Environment / init script:
defining the AppVeyor Token as a secure variable and the outcome that I get so far is:API URL: http://localhost/project/AppVeyor/appveyor-t2
History Build Count: 0
As History Build Count is 0, it does not enter into the if statement.
It seems that the history records are not being get properly. Any idea why?