8000 Feature/jenkins pipeline by fceller · Pull Request #2996 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content

Feature/jenkins pipeline #2996

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

Merged
merged 15 commits into from
Aug 8, 2017
Prev Previous commit
Next Next commit
added fullParallel
  • Loading branch information
fceller committed Aug 6, 2017
commit ead7f35850556e7b43d1ce1f3199153f47909e5c
52 changes: 27 additions & 25 deletions Installation/Pipeline/Jenkinsfile.feature
Original file line number Diff line number Diff line change
Expand Up @@ -339,20 +339,20 @@ def checkCommitMessages() {
runTests = true

restrictions = [
"build-community-linux",
"build-community-mac",
// "build-community-windows",
"build-enterprise-linux",
"build-enterprise-mac",
"build-enterprise-windows",
"test-cluster-community-mmfiles-linux",
"test-cluster-community-rocksdb-linux",
"test-cluster-enterprise-mmfiles-linux",
"test-cluster-enterprise-rocksdb-linux",
"test-singleserver-community-mmfiles-linux",
"test-singleserver-community-rocksdb-linux",
"test-singleserver-enterprise-mmfiles-linux",
"test-singleserver-enterprise-rocksdb-linux"
"build-community-linux" : true,
"build-community-mac" : true,
// "build-community-windows" : true,
"build-enterprise-linux" : true,
"build-enterprise-mac" : true,
"build-enterprise-windows" : true,
"test-cluster-community-mmfiles-linux" : true,
"test-cluster-community-rocksdb-linux" : true,
"test-cluster-enterprise-mmfiles-linux" : true,
"test-cluster-enterprise-rocksdb-linux" : true,
"test-singleserver-community-mmfiles-linux" : true,
"test-singleserver-community-rocksdb-linux" : true,
"test-singleserver-enterprise-mmfiles-linux" : true,
"test-singleserver-enterprise-rocksdb-linux" : true
]
}
else {
Expand All @@ -368,12 +368,12 @@ def checkCommitMessages() {
runTests = true

restrictions = [
"build-community-mac",
// "build-community-windows",
"build-enterprise-linux",
"test-cluster-enterprise-rocksdb-linux",
"test-singleserver-community-mmfiles-mac"
// "test-singleserver-community-rocksdb-windows"
"build-community-mac" : true,
// "build-community-windows" : true,
"build-enterprise-linux" : true,
"test-cluster-enterprise-rocksdb-linux" : true,
"test-singleserver-community-mmfiles-mac" : true
// "test-singleserver-community-rocksdb-windows" : true
]
}
}
Expand All @@ -397,7 +397,7 @@ Running Jslint: ${runJslint}
Running Resilience: ${runResilience}
Running Tests: ${runTests}

Restrictions: ${restrictions.join(", ")}
Restrictions: ${restrictions.keySet().join(", ")}
"""
}

Expand Down Expand Up @@ -645,7 +645,7 @@ def testCheck(edition, os, mode, engine) {
return false
}

if (restrictions && ! restrictions.contains("test-${mode}-${edition}-${engine}-${os}")) {
if (restrictions && !restrictions["test-${mode}-${edition}-${engine}-${os}"]) {
return false
}

Expand Down Expand Up @@ -750,7 +750,7 @@ def testResilienceCheck(os, engine, foxx) {
return false
}

if (restrictions && !restrictions.contains("test-resilience-${foxx}-${engine}-${os}")) {
if (restrictions && !restrictions["test-resilience-${foxx}-${engine}-${os}"]) {
return false
}

Expand Down Expand Up @@ -931,10 +931,12 @@ def buildStepCheck(edition, os, full) {
return false
}

if (restrictions && !restrictions.contains("build-${edition}-${os}")) {
if (restrictions && !restrictions["build-${edition}-${os}"]) {
echo "no restriction"
echo "${restrictions.join(', ')}"
echo "${restrictions.keySet().join(', ')}"
echo "build-${edition}-${os}"
def x = restrictions["build-${edition}-${os}"]
echo "contains ${x}"
return false
}

Expand Down
0