diff --git a/scripts/shell/job/artifactory-rebuild-maven-metadata-xml-massively-for-cdk-version.sh b/scripts/shell/job/artifactory-rebuild-maven-metadata-xml-massively-for-cdk-version.sh index 8ed8815..2f210eb 100755 --- a/scripts/shell/job/artifactory-rebuild-maven-metadata-xml-massively-for-cdk-version.sh +++ b/scripts/shell/job/artifactory-rebuild-maven-metadata-xml-massively-for-cdk-version.sh @@ -2,7 +2,7 @@ cdk_version=$1 -cdk_paths_unfiltered=$(jf rt search --recursive=false 'cpqd-snapshot/br/com/cpqd/**/13.30.132-SNAPSHOT/' | jq -r '.[].path') +cdk_paths_unfiltered=$(jf rt search --recursive=false "cpqd-snapshot/br/com/cpqd/**/$cdk_version/" | jq -r '.[].path') cdk_paths=$(for p in ${cdk_paths_unfiltered[@]}; do dirname $p; done | uniq) # needs pwd to be in PATH diff --git a/scripts/shell/job/forget-credentials-bitbucket.sh b/scripts/shell/job/forget-credentials-bitbucket.sh new file mode 100755 index 0000000..00c73f8 --- /dev/null +++ b/scripts/shell/job/forget-credentials-bitbucket.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo 'url=https://bitbucket.cpqd.com.br/' | git credential reject diff --git a/scripts/shell/job/forget-credentials-github.sh b/scripts/shell/job/forget-credentials-github.sh new file mode 100755 index 0000000..94ed709 --- /dev/null +++ b/scripts/shell/job/forget-credentials-github.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +echo 'url=https://github.com/' | git credential reject