Skip to content
Snippets Groups Projects
Commit 0ac147af authored by garciadeblas's avatar garciadeblas
Browse files

Changes in RO start_build to make Jenkins Job work


Change-Id: Ibaf9ff2592152113cec0b946d80742ae83ae724c
Signed-off-by: default avatargarciadeblas <gerardo.garciadeblas@telefonica.com>
parent bcc2bc4c
No related branches found
No related tags found
No related merge requests found
#!/bin/bash
g!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
......@@ -34,8 +34,8 @@ else
cd $OSM_MDG
fi
if [ $# -gt 0 ]; then
git fetch origin +refs/for/master || FATAL "git fetch didn't work"
git checkout $1 || FATAL "git checkout '$1' didn't work"
git fetch --all || FATAL "git fetch didn't work"
git checkout -f $1 || FATAL "git checkout '$1' didn't work"
fi
INFO "starting build"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment