You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
249 B
20 lines
249 B
#!/bin/bash
|
|
|
|
for x in $@; do
|
|
echo "$x"
|
|
done
|
|
|
|
my_envs='GIT_DEPLOY_JOB_ID
|
|
GIT_DEPLOY_PROMOTE_TO
|
|
GIT_REF_NAME
|
|
GIT_REF_TYPE
|
|
GIT_REPO_OWNER
|
|
GIT_REPO_NAME
|
|
GIT_CLONE_URL'
|
|
|
|
echo 'Doing "work" ...'
|
|
sleep 5
|
|
|
|
for x in $my_envs; do
|
|
echo "$x=${!x}"
|
|
done
|