This file contains 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
#!/bin/bash | |
# bash generate random alphanumeric string | |
# | |
# bash generate random 32 character alphanumeric string (upper and lowercase) and | |
NEW_UUID=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1) | |
# bash generate random 32 character alphanumeric string (lowercase only) | |
cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1 |
This file contains 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
input { | |
s3 { | |
bucket => "<S3_BUCKET_NAME_WITH_CLOUDFRONT_LOGS>" | |
prefix => "PREFIX_FOR_LOG_FILES (CF DISTRIBUTION NAME)" | |
region => "BUCKET_REGION" | |
} | |
} | |
filter { | |
grok { |
This file contains 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
#!/usr/bin/env groovy | |
// Load the shared libraries | |
@Library('jenkins-shared-libraries')_ | |
import static groovy.io.FileType.FILES | |
// Load child Jenkinsfiles based on diff | |
def loadDiff() { | |
dirs = [] | |
loads = [:] |