make sure the script fails when there is an error in the pipeline
This commit is contained in:
parent
129fa23e19
commit
696ed313dc
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
admin_username=${admin_username:-admin}
|
admin_username=${admin_username:-admin}
|
||||||
admin_password=${admin_password:-admin}
|
admin_password=${admin_password:-admin}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# here be dragons... see http://fvue.nl/wiki/Bash:_Error_handling
|
# here be dragons... see http://fvue.nl/wiki/Bash:_Error_handling
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
config_fqdn=$(hostname --fqdn)
|
config_fqdn=$(hostname --fqdn)
|
||||||
config_domain=$(hostname --domain)
|
config_domain=$(hostname --domain)
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
# NB execute apt-cache madison docker-ce to known the available versions.
|
# NB execute apt-cache madison docker-ce to known the available versions.
|
||||||
docker_version="${1:-5:20.10.4~3-0~ubuntu-focal}"; shift || true
|
docker_version="${1:-5:20.10.4~3-0~ubuntu-focal}"; shift || true
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
# opt-out of telemetry.
|
# opt-out of telemetry.
|
||||||
echo 'export DOTNET_CLI_TELEMETRY_OPTOUT=1' >/etc/profile.d/opt-out-dotnet-cli-telemetry.sh
|
echo 'export DOTNET_CLI_TELEMETRY_OPTOUT=1' >/etc/profile.d/opt-out-dotnet-cli-telemetry.sh
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
. /vagrant/provision/nexus-groovy.sh
|
. /vagrant/provision/nexus-groovy.sh
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
docker_group_registry_host="$nexus_domain:5001"
|
docker_group_registry_host="$nexus_domain:5001"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -eux
|
set -euxo pipefail
|
||||||
|
|
||||||
nexus_domain=$(hostname --fqdn)
|
nexus_domain=$(hostname --fqdn)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue