- lf-provide-maven-settings-cleanup
- config-file-provider:
files:
- - file-id: 'images-snapshots-settings'
+ - file-id: 'ta-settings'
variable: 'SETTINGS_FILE'
+ - inject:
+ properties-content: 'ALT_NEXUS_URL=https://nexus3.akraino.org'
- lf-infra-create-netrc:
- server-id: images-snapshots
+ server-id: rpm.snapshots
- shell: !include-raw:
# Ensure python-tools are installed in case job template does not
# call the lf-infra-pre-build macro.
- lf-provide-maven-settings-cleanup
- config-file-provider:
files:
- - file-id: 'images-snapshots-settings'
+ - file-id: 'ta-settings'
variable: 'SETTINGS_FILE'
- lf-infra-create-netrc:
server-id: images-snapshots
set -x # Trace commands for this script to make debugging easier.
-NEXUS_REPO=images-snapshots
+NEXUS_REPO=rpm.snapshots
release_path=TA/release-1
repo_dir="$WORKSPACE/work/nexus/$NEXUS_REPO"
x86_dir="$repo_dir/$release_path/rpms/x86_64"
sources_dir="$repo_dir/$release_path/rpms/Sources"
-nexus_repo_url="$NEXUS_URL/content/repositories/$NEXUS_REPO"
+nexus_repo_url="$ALT_NEXUS_URL/repository/$NEXUS_REPO"
mkdir -p "$x86_dir"
mkdir -p "$sources_dir"