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 -e | |
# see related issue: https://github.com/rundeck/rundeck/issues/357 | |
# see https://gist.github.com/Grummfy/11289c0c71096d812e9dd59eaf310464 | |
export PATH=$PATH:~/rd-1.1.0/bin/ | |
# export required vars | |
export RD_URL=http://localhost:4440 RD_USER=admin RD_PASSWORD=admin RD_HTTP_TIMEOUT=300 RD_PROJECT=mainProject | |
# make sure rd & jq commands are in the PATH |