Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
monticore
EmbeddedMontiArc
languages
EmbeddedMontiArc
Commits
cdf71d71
Commit
cdf71d71
authored
Jun 12, 2020
by
Evgeny Kusmenko
Browse files
Update .gitlab-ci.yml
parent
68e42265
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
cdf71d71
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment