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
/* | |
Alexandre Zia | |
Credits: | |
This script adds functionality to the original code | |
Original code from: Jonathan Gotti (malko) : https://github.com/malko/rocketchat-jira-hook/blob/master/jira-rocketchat-hook.js | |
*/ | |
/*jshint esnext:true*/ |
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 | |
domain=$1 | |
port=$2 | |
if [ -z "$domain" ] || [ -z "$port" ]; then | |
echo "Usage: domain-alias <domain> <port>" | |
exit 1 | |
fi |