-
New Feature
-
Resolution: Fixed
-
Minor
-
None
the README for version 0.1.1 of https://plugins.jenkins.io/bitbucket-scm-trait-commit-skip indicates, in the Description, that "The filtering is only performed at change requests events, so push events to non-pull requests will be always run."
it would be totally amazing and make my day if this functionality applied equally to non-pull request changes (we never build pull requests).
i assigned it to you, javier, just to make sure you'd see it. please feel free to detach yourself.
- is related to
-
JENKINS-45502 Add concept of "interesting" to SCMHead and SCMRevision
-
- Open
-
[JENKINS-47643] Allow [ci skip] to work for non-pull request changes
Status | Original: Open [ 1 ] | New: In Progress [ 3 ] |
Link | New: This issue is related to JENKINS-45502 [ JENKINS-45502 ] |
There is a potential huge risk of skipping events for non pull request events. As of current implementation, the filtering is made via the isExcuded overriden method. As a collateral hiccup, the job is marked as disabled (and would be eventually be wiped with a configured Orphaned Item Strategy)
As per stephenconnolly comment at a GitHub PR;
That ticket would (hopefully) erase the drawbacks of the current implementation.
In the mean time, if you are fully aware of the current risk (or not using any Orphaned Item Strategy), I could work on it. What are your thoughts kburnett?
Again: Implementing this feature could cause a job to become erased, losing all of its run history