Commit 9ddd11c0 authored by Evgeny Kusmenko's avatar Evgeny Kusmenko
Browse files

Update .gitlab-ci.yml

parent 2a40a6cb
Pipeline #334407 failed
...@@ -4,6 +4,8 @@ image: maven:3-jdk-8 ...@@ -4,6 +4,8 @@ image: maven:3-jdk-8
githubjob: githubjob:
image: maven:3-jdk-8
stage: linux
before_script: before_script:
- 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )' - 'which ssh-agent || ( apt-get update -y && apt-get install openssh-client -y )'
- eval $(ssh-agent -s) - eval $(ssh-agent -s)
...@@ -17,12 +19,13 @@ githubjob: ...@@ -17,12 +19,13 @@ githubjob:
script: script:
- git clone git@github.com:MontiCore/EmbeddedMontiArc.git - git clone git@github.com:MontiCore/EmbeddedMontiArc.git
- cd EmbeddedMontiArc - cd EmbeddedMontiArc
- git subtree pull --prefix languages/EmbeddedMontiArc https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/languages/EmbeddedMontiArc.git master - git subtree pull --prefix $PRJ_NAME https://git.rwth-aachen.de/monticore/EmbeddedMontiArc/${PRJ_NAME}.git master --squash
- git push --force - git push --force
only: only:
- master - master
masterJob: masterJob:
script: script:
- mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy sonar:sonar --settings settings.xml - mvn -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -B clean deploy sonar:sonar --settings settings.xml
......
Supports Markdown
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