Commit cdf71d71 authored by Evgeny Kusmenko's avatar Evgeny Kusmenko

Update .gitlab-ci.yml

parent 68e42265
......@@ -3,6 +3,24 @@
image: maven:3-jdk-8
masterJob:
before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s)
- ssh-add <(echo "$GITHUB_SSH_PRIV_KEY" | base64 -d)
- git config --global user.email "kusmenko@se-rwth.de"
- git config --global user.name "EMA CI"
- mkdir -p ~/.ssh
- cat gitlab-known-hosts >> ~/.ssh/known_hosts
script:
- git clone https://github.com/MontiCore/EmbeddedMontiArc.git
- cd EmbeddedMontiArc
- git subtree pull --prefix languages/EmbeddedMontiArc https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc.git master
- git push --force
only:
- master
masterJob:
script:
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy sonar:sonar --settings settings.xml
......
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