#!/bin/bash
-# Copyright (C) 2019 Wind River Systems, Inc.
+# Copyright (C) 2020 Wind River Systems, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# Uploads a Yocto image to Nexus.
-echo "--> upload-yocto.sh"
+echo "--> upload-inf.sh"
# Ensure we fail the job if any steps fail.
set -eu -o pipefail
# Expect ISO file: oran-image-inf-host-intel-x86-64.iso
# in build subdir: workspace/prj_oran-inf/tmp-glibc/deploy/images/intel-x86-64/
-iso="workspace/prj_oran-inf/tmp-glibc/deploy/images/intel-x86-64/oran-image-inf-host-intel-x86-64.iso"
+#iso="workspace/prj_oran-inf/tmp-glibc/deploy/images/intel-x86-64/oran-image-inf-host-intel-x86-64.iso"
+iso="workspace/prj_oran_inf_anaconda/tmp-glibc/deploy/images/intel-corei7-64/inf-image-aio-installer-intel-corei7-64.iso"
echo "INFO: copy $iso to staging directory $repo_iso_dir"
cp "$iso" "$repo_iso_dir"
echo "INFO: Upload ISO to Nexus: $cmd"
$cmd
-echo "--> upload-yocto.sh ends"
+echo "--> upload-inf.sh ends"