1
0
mirror of https://github.com/Ylianst/MeshAgent synced 2025-12-28 14:13:37 +00:00
Files
MeshAgent/DevOps/ProtexAutomation/ScanProtexProject/ScanProtexProject.sh
Ylian Saint-Hilaire 3c80473a94 Major agent update.
2018-09-05 11:01:17 -07:00

33 lines
617 B
Bash

#!/bin/bash
if [ $# -ne 5 ]; then
echo "Arugument Missing"
echo "Input Parameters:"
echo "arg[1] - Protex server URL"
echo "arg[2] - Protex user ID e.g abc@intel.com"
echo "arg[3] - Password e.g abc"
echo "arg[4] - Project ID e.g c_byt_beta_audio_6009"
echo "arg[5] - Source Code location e.g /home/sourcefiles"
exit
fi
# set environmental values to enable login to the Protex server
# Set the server URL
export BDSSERVER=$1
# Set the login name
export BDSUSER=$2
# Set the password
SET BDSPASSWORD=$3
pushd $5
bdstool login
bdstool new-project $4 --verbose
bdstool analyze
bdstool logout
popd
exit