Skip to content

Commit

Permalink
Merge pull request #936 from lemeurherveCB/patch-2
Browse files Browse the repository at this point in the history
chore: remove unused env.props from build.sh
  • Loading branch information
dduportal authored Mar 5, 2025
2 parents 8364471 + 1dd2ff6 commit 9187c83
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ OPTIND=1
target="build"
build_number="1"
remoting_version="3291.vb_131b_dc231fa_"
disable_env_props=0
exit_result=0

function exit_if_error() {
Expand All @@ -19,7 +18,7 @@ function exit_if_error() {
fi
}

while getopts "t:r:b:d" opt; do
while getopts "t:r:b" opt; do
case "$opt" in
t)
target=$OPTARG
Expand All @@ -30,9 +29,6 @@ while getopts "t:r:b:d" opt; do
b)
build_number=$OPTARG
;;
d)
disable_env_props=1
;;
*)
echo "Invalid flag passed: '${opt}'."
;;
Expand All @@ -46,11 +42,6 @@ if [[ $# -gt 0 ]] ; then
shift
fi

if [[ "${disable_env_props}" = "0" ]] ; then
source env.props
export "$(cut -d= -f1 env.props)"
fi

export REGISTRY_ORG=${DOCKERHUB_ORGANISATION:-jenkins4eval}
export REGISTRY_REPO_AGENT=${DOCKERHUB_REPO_AGENT:-agent}
export REGISTRY_REPO_INBOUND_AGENT=${DOCKERHUB_REPO_INBOUND_AGENT:-inbound-agent}
Expand Down

0 comments on commit 9187c83

Please sign in to comment.