Skip to content

Commit

Permalink
Add alias required by windows job on jenkins (elastic#12885) (elastic…
Browse files Browse the repository at this point in the history
…#12887)

X-Pack metricbeat job for Windows requires this target. Using alias as
is done on auditbeat while all beats are migrated to have common testing
targets.

(cherry picked from commit 978460e)
  • Loading branch information
jsoriano authored Jul 12, 2019
1 parent ff11fe6 commit c4ec4b3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions x-pack/metricbeat/magefile.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@ func init() {
mage.BeatLicense = "Elastic License"
}

// Aliases provides compatibility with CI while we transition all Beats
// to having common testing targets.
var Aliases = map[string]interface{}{
"goTestUnit": GoUnitTest, // dev-tools/jenkins_ci.ps1 uses this.
}

// Build builds the Beat binary.
func Build() error {
return mage.Build(mage.DefaultBuildArgs())
Expand Down

0 comments on commit c4ec4b3

Please sign in to comment.