Last active
July 31, 2018 06:02
-
-
Save Malinskiy/dead83065d76a021462a58410feb082a to your computer and use it in GitHub Desktop.
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
| #!/usr/bin/env sh | |
| # fail if anything errors | |
| set -e | |
| # fail if a function call is missing an argument | |
| set -u | |
| username=$(cat /nexus-password/username) | |
| password=$(cat /nexus-password/password) | |
| ip=$POD_IP | |
| config=/nexus-config/config.yaml | |
| groovy -Dgrape.root=/home/groovy/grapes -Divy.message.logger.level=4 local.groovy -u "$username" -p "$password" -c "$config" -i "$ip" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment