Skip to content
Snippets Groups Projects
Commit e25efb6e authored by Viktor Vorobev's avatar Viktor Vorobev Committed by Ugo Albanese
Browse files

Merged in NRRPLT-8148-the-schemas-for-ci-are-downl (pull request #28)

[NRRPLT-8148] Fix git branch URL for schemas

Approved-by: Ugo Albanese
Approved-by: Krzysztof Lebioda
parent bada623d
No related branches found
No related tags found
No related merge requests found
......@@ -41,14 +41,14 @@ cp ${HBP}/${USER_SCRIPTS_DIR}/config_files/CLE/config.ini.sample ${HBP}/${CLE_DI
# Obtain schemas
REPOSITORY=experiments
[ -z "$(git ls-remote --heads git@bitbucket.org:hbpneurorobotics/${REPOSITORY}.git ${TOPIC_BRANCH})" ] \
[ -z "$(git ls-remote --heads https://bitbucket.org/hbpneurorobotics/${REPOSITORY}.git ${TOPIC_BRANCH})" ] \
&& CO_BRANCH="${DEFAULT_BRANCH}" \
|| CO_BRANCH="${TOPIC_BRANCH}"
bash ./.ci/bitbucket_api_get.bash "${REPOSITORY}" bibi_configuration.xsd "${CO_BRANCH}"
bash ./.ci/bitbucket_api_get.bash "${REPOSITORY}" ExDConfFile.xsd "${CO_BRANCH}"
python .ci/ci_download_directory.py https://bitbucket.org/hbpneurorobotics/experiments/src/development/hbp-scxml/
python .ci/ci_download_directory.py https://bitbucket.org/hbpneurorobotics/experiments/src/${CO_BRANCH}/hbp-scxml/
REPOSITORY=models
[ -z "$(git ls-remote --heads git@bitbucket.org:hbpneurorobotics/${REPOSITORY}.git ${TOPIC_BRANCH})" ] \
[ -z "$(git ls-remote --heads https://bitbucket.org/hbpneurorobotics/${REPOSITORY}.git ${TOPIC_BRANCH})" ] \
&& CO_BRANCH="${DEFAULT_BRANCH}" \
|| CO_BRANCH="${TOPIC_BRANCH}"
bash ./.ci/bitbucket_api_get.bash "${REPOSITORY}" robot_model_configuration.xsd "${CO_BRANCH}"
......
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