Commit 2e2400e3 authored by Raphael Defosseux's avatar Raphael Defosseux 🌴

fix syntax

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent c790554a
......@@ -7,6 +7,7 @@ pipeline {
options {
disableConcurrentBuilds()
timestamps()
gitlabBuilds(builds: ["Build", "Test"])
}
stages {
......@@ -33,22 +34,20 @@ pipeline {
}
}
}
gitlabBuilds(builds: ["Build", "Test"]) {
stage ('Build') {
gitlabCommitStatus("Build") {
steps {
sh "gcc src/test1.c -o bin/test1"
sh "gcc src/test2.c -o bin/test2"
sh "cppcheck --enable=warning --force --xml --xml-version=2 src 2> cppcheck.xml"
}
stage ('Build') {
gitlabCommitStatus("Build") {
steps {
sh "gcc src/test1.c -o bin/test1"
sh "gcc src/test2.c -o bin/test2"
sh "cppcheck --enable=warning --force --xml --xml-version=2 src 2> cppcheck.xml"
}
}
stage ('Test') {
gitlabCommitStatus("Test") {
steps {
sh "./bin/test1"
sh "./bin/test2"
}
}
stage ('Test') {
gitlabCommitStatus("Test") {
steps {
sh "./bin/test1"
sh "./bin/test2"
}
}
}
......
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