This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import jenkins | |
import sys | |
import re | |
from getpass import getpass | |
#Usage of this script:python Jenkins_Console.py "http://localhost:8081/job/00_OPS/" "C:\Users\balakrishna\Desktop\ExtractedLogs" | |
#Base url where all our jobs are present | |
#url = 'http://localhost:8081/job/00_OPS/' | |
base_url = sys.argv[1] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import Log_Splitter | |
import sys | |
"""This is a POC for extracting desired logs from folder level""" | |
"""Usage of this script: python LatestFolder.py "C:\\Program Files (x86)\\Jenkins\\jobs\\00_OPS\\jobs" "C:\\Users\\balakrishna\\Desktop\\ExtractedLogs""" | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from jenkins import * | |
from jenkinsapi.utils.requester import Requester | |
import sys | |
import re | |
import os | |
from getpass import getpass | |
#Usage of this script:python Jenkins_Console.py "http://localhost:8081/job/00_OPS/" "C:\Users\balakrishna\Desktop\ExtractedLogs" | |
#Base url where all our jobs are present |