8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2205147 commit 4347500Copy full SHA for 4347500
jenkins.sh
@@ -42,7 +42,9 @@ shellcheck ./**/*.sh
42
# Find all jenkins.sh's and run them.
43
find . -mindepth 2 -maxdepth 5 -name jenkins.sh -type f | while read -r path; do
44
dir="${path%/jenkins.sh}"
45
- app_version="jenkins-${dir//[^a-z]/}"
+ # Use just the first letter of each subdir in version name
46
+ # shellcheck disable=SC2001
47
+ app_version="jenkins-$(echo "${dir#./}" | sed 's#\([a-z]\)[^/]*/#\1-#g')"
48
(
49
pushd "${dir}"
50
# Need different app versions because flex can't deploy over an existing
0 commit comments