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
test! |
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 | |
BASE_JOB_NAME=TestJob | |
NEW_JOB_NAME=TestJob | |
BASE_JOB_SERVER=http://base-jenkins.example.com | |
NEW_JOB_SERVER=http://new-jenkins.example.com | |
JENKINS_USER=${USER} | |
JENKINS_API_KEY=$(cat ~/.new_job_server_jenkins_api_key) |
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
CMD exec /bin/bash -c "trap : TERM INT; sleep infinity & wait" |
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 perl | |
use strict; | |
use warnings; | |
use utf8; | |
use Encode::Guess qw/cp932 euc-jp 7bit-jis utf8/; #文字コードの候補を指定して use する | |
my $file = shift; | |
my $fh; |
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 | |
ORG_ADDRESS= | |
ORG_PORT= | |
TARGET_ADDRESS= | |
TARGET_PORT= | |
ORG_USER=hogehoge | |
ORG_PASSWORD=secret | |
ORG_APIKEY=yourkey |
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/sh | |
# Post to Slack | |
CHANNEL="#monologue" | |
USERNAME="webhookbot" | |
ICON=":ghost:" | |
while getopts c:i:u: OPT | |
do |