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 time | |
import requests | |
import json | |
import os | |
import csv | |
from urllib.parse import urlencode | |
def GetUserJSON(exec_url, session): | |
''' | |
Retrieves JSON representation of |
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
//Get all machines into an array | |
def machines = ["SolMeeSeeks01", "SolMeeSeeks02", "SolMeeSeeks03", "SolMeeSeeks04", "SolMeeSeeks05", "SolMeeSeeks06", "SolMeeSeeks07"] | |
//Iterate through machines | |
for (int i = 0; i < machines.size(); i++) { | |
node (machines[i]) { | |
stage ('Machine Name') { | |
bat 'hostname' //Placeholder command - call test runnner | |
} | |
} | |
} |
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
#------------------------------------------------------------------------------- | |
# Name: gh-issues | |
# Purpose: Write issues from a repo to a csv file | |
# Created: 1/23/2018 | |
# | |
# Note: | |
# Original script came from https://gist.github.com/unbracketed/3380407. | |
# Modified to fit our needs | |
#------------------------------------------------------------------------------- | |
import csv |