File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 11#!/usr/bin/env python3
22
33"""
4+ Copyright 2018 Couchbase, Inc
5+
6+ Licensed under the Apache License, Version 2.0 (the "License");
7+ you may not use this file except in compliance with the License.
8+ You may obtain a copy of the License at
9+
10+ http://www.apache.org/licenses/LICENSE-2.0
11+
12+ Unless required by applicable law or agreed to in writing, software
13+ distributed under the License is distributed on an "AS IS" BASIS,
14+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+ See the License for the specific language governing permissions and
16+ limitations under the License.
17+
418This short script uses curl requests to search the last 100 builds of
519a jenkins job to find recurring errors, written in Python3.
620It results in printing a list of links to builds that match the search
923couchbase-cli.
1024This is currently limited to searching for log patterns contained within
1125one line of the logs, as the search checks line-by-line.
26+
27+ Usage: python jenkins_console_log_search.py -j <job-name> -s <RegEx Search term>
1228"""
1329
1430import argparse
You can’t perform that action at this time.
0 commit comments