Add scripts/shell/job/artifactory-search-ETICS-packages.sh file
This commit is contained in:
11
scripts/shell/job/artifactory-search-ETICS-packages.sh
Executable file
11
scripts/shell/job/artifactory-search-ETICS-packages.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
#!/bin/bash
|
||||
|
||||
packages=($(jf rt search --recursive=false --include-dirs=true "oss-package-dev/gp/*" | jq -r .[].path))
|
||||
|
||||
for package in ${packages[@]}; do
|
||||
package_ver=${package#"oss-package-dev/gp/"}
|
||||
|
||||
[[ $package_ver != *"-ETICS-"* ]] && continue
|
||||
|
||||
echo $package_ver
|
||||
done
|
||||
Reference in New Issue
Block a user