Skip to content

Commit

Permalink
adjust CI configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
kvch committed Feb 11, 2020
1 parent 0a9637f commit f86e3d9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,20 @@ jobs:

# Generators
- os: linux
env: TARGETS="-C generator/metricbeat test test-package"
env: TARGETS="-C generator/_templates/metricbeat test test-package"
go: $TRAVIS_GO_VERSION
stage: test
- os: linux
env: TARGETS="-C generator/beat test test-package"
env: TARGETS="-C generator/_templates/beat test test-package"
go: $TRAVIS_GO_VERSION
stage: test

- os: osx
env: TARGETS="-C generator/metricbeat test"
env: TARGETS="-C generator/_templates/metricbeat test"
go: $TRAVIS_GO_VERSION
stage: test
- os: osx
env: TARGETS="-C generator/beat test"
env: TARGETS="-C generator/_templates/beat test"
go: $TRAVIS_GO_VERSION
stage: test

Expand Down
8 changes: 4 additions & 4 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -414,14 +414,14 @@ pipeline {
stage('Generators Metricbeat Linux'){
steps {
withBeatsEnv(){
makeTarget("Generators Metricbeat Linux", "-C generator/metricbeat test test-package")
makeTarget("Generators Metricbeat Linux", "-C generator/_templates/metricbeat test test-package")
}
}
}
stage('Generators Beat Linux'){
steps {
withBeatsEnv(){
makeTarget("Generators Beat Linux", "-C generator/beat test test-package")
makeTarget("Generators Beat Linux", "-C generator/_templates/beat test test-package")
}
}
}
Expand All @@ -430,7 +430,7 @@ pipeline {
options { skipDefaultCheckout() }
steps {
withBeatsEnv(){
makeTarget("Generators Metricbeat Mac OS X", "-C generator/metricbeat test")
makeTarget("Generators Metricbeat Mac OS X", "-C generator/_templates/metricbeat test")
}
}
}
Expand All @@ -439,7 +439,7 @@ pipeline {
options { skipDefaultCheckout() }
steps {
withBeatsEnv(){
makeTarget("Generators Beat Mac OS X", "-C generator/beat test")
makeTarget("Generators Beat Mac OS X", "-C generator/_templates/beat test")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion dev-tools/jenkins_ci.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ $env:TEST_COVERAGE = "true"
$env:RACE_DETECTOR = "true"

# Install mage from vendor.
exec { go install github.com/elastic/beats/vendor/github.com/magefile/mage } "mage install FAILURE"
exec { go install -mod=vendor github.com/magefile/mage } "mage install FAILURE"

if (Test-Path "$env:beat\magefile.go") {
cd "$env:beat"
Expand Down

0 comments on commit f86e3d9

Please sign in to comment.