diff --git a/.ci/scripts/generate_build_table.py b/.ci/scripts/generate_build_table.py index 47e26cc1755..95dbc9afa5d 100755 --- a/.ci/scripts/generate_build_table.py +++ b/.ci/scripts/generate_build_table.py @@ -5,8 +5,8 @@ if __name__ == "__main__": - print("| Beat | Stage | Command | MODULE | Platforms | When |") - print("|-------|--------|----------|---------|------------|------|") + print("| Beat | Stage | Category | Command | MODULE | Platforms | When |") + print("|-------|--------|----------|----------|---------|------------|------|") for root, dirs, files in os.walk("."): dirs.sort() for file in files: @@ -18,6 +18,9 @@ withModule = False platforms = [doc["platform"]] when = "mandatory" + category = 'default' + if "stage" in doc["stages"][stage]: + category = doc["stages"][stage]["stage"] if "make" in doc["stages"][stage]: command = doc["stages"][stage]["make"].replace("\n", " ") if "mage" in doc["stages"][stage]: @@ -33,5 +36,5 @@ if "when" in doc["stages"][stage]: if "not_changeset_full_match" not in doc["stages"][stage]["when"]: when = "optional" - print("| {} | {} | `{}` | {} | `{}` | {} |".format( - module, stage, command, withModule, platforms, when)) + print("| {} | {} | `{}` | `{}` | {} | `{}` | {} |".format( + module, stage, category, command, withModule, platforms, when)) diff --git a/Jenkinsfile b/Jenkinsfile index 36ab95e4126..ea573280eb3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -26,7 +26,7 @@ pipeline { XPACK_MODULE_PATTERN = '^x-pack\\/[a-z0-9]+beat\\/module\\/([^\\/]+)\\/.*' } options { - timeout(time: 3, unit: 'HOURS') + timeout(time: 4, unit: 'HOURS') buildDiscarder(logRotator(numToKeepStr: '60', artifactNumToKeepStr: '20', daysToKeepStr: '30')) timestamps() ansiColor('xterm')