Commit c1e06c1a authored by Raphael Defosseux's avatar Raphael Defosseux

adding a second file

Signed-off-by: Raphael Defosseux's avatarRaphael Defosseux <raphael.defosseux@eurecom.fr>
parent 128eca8b
......@@ -36,12 +36,14 @@ pipeline {
stage ('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') {
steps {
sh "./bin/test1"
sh "./bin/test2"
}
}
}
......
/*
* Copyright OAI Software Alliance - 2018
* Author Raphael Defosseux
* Comments : Proper comments
*/
#include <stdio.h>
int main()
{
int testId = 2;
printf ("Test #%d\n", testId);
return 0;
}
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