Commit 867effc8 authored by incardon's avatar incardon

Buld OS pipeline by branch

parent ecf5149e
......@@ -4,7 +4,6 @@
echo "Directory: $1"
echo "Machine: $2"
echo "Branch: $BRANCH_NAME"
mkdir src/config
......@@ -17,7 +16,9 @@ if [ "$2" == "windows10" ]; then
echo "y" >> input_install
echo "1" >> input_install
./install -i "/home/jenkins/$BRANCH_NAME" < input_install
branch=$(git rev-parse --abbrev-ref HEAD)
./install -i "/home/jenkins/$branch" < input_install
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment