Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ignore target changes on scans #19510

Merged
merged 1 commit into from
Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .ci/jobs/apm-beats-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
regex: '8\.\d+'
case-sensitive: true
- change-request:
ignore-target-only-changes: false
ignore-target-only-changes: true
clean:
after: true
before: true
Expand Down
8 changes: 4 additions & 4 deletions .ci/jobs/beats-windows-mbp.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
- job:
name: Beats/beats-windows-mbp
display-name: Beats Pipeline for Windows
display-name: Beats Pipeline for Windows
description: Jenkins pipeline for the Beats project running on windows agents.
view: Beats
project-type: multibranch
Expand All @@ -11,7 +11,7 @@
branch-discovery: no-pr
discover-pr-forks-strategy: merge-current
discover-pr-forks-trust: permission
discover-pr-origin: merge-current
discover-pr-origin: merge-current
discover-tags: false
# Run MBP for the master branch and PRs
head-filter-regex: '(master|PR-.*)'
Expand All @@ -27,10 +27,10 @@
ignore-tags-newer-than: -1
- regular-branches: true
- change-request:
ignore-target-only-changes: false
ignore-target-only-changes: true
property-strategies:
# Builds for PRs won't be triggered automatically.
# Only the master branch will be triggered automatically.
# Only the master branch will be triggered automatically.
named-branches:
defaults:
- suppress-scm-triggering: true
Expand Down
2 changes: 1 addition & 1 deletion .ci/jobs/beats.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
ignore-tags-older-than: -1
ignore-tags-newer-than: -1
- change-request:
ignore-target-only-changes: false
ignore-target-only-changes: true
- named-branches:
- exact-name:
name: 'master'
Expand Down
4 changes: 2 additions & 2 deletions .ci/jobs/golang-crossbuild-mbp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
branch-discovery: no-pr
discover-pr-forks-strategy: merge-current
discover-pr-forks-trust: permission
discover-pr-origin: merge-current
discover-pr-origin: merge-current
discover-tags: true
notification-context: 'beats-ci'
repo: golang-crossbuild
Expand All @@ -25,7 +25,7 @@
ignore-tags-newer-than: -1
- regular-branches: true
- change-request:
ignore-target-only-changes: false
ignore-target-only-changes: true
clean:
after: true
before: true
Expand Down
4 changes: 2 additions & 2 deletions .ci/jobs/packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
credentials: f6c7695a-671e-4f4f-a331-acdce44ff9ba
build-strategies:
- tags:
ignore-tags-older-than: -1
ignore-tags-older-than: 30
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ignore tags older than 30 days

ignore-tags-newer-than: -1
- named-branches:
- exact-name:
Expand All @@ -36,7 +36,7 @@
regex: '8\.\d+'
case-sensitive: true
- change-request:
ignore-target-only-changes: false
ignore-target-only-changes: true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

neat! That's the one you mentioned :)

clean:
after: true
before: true
Expand Down