Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
openair-ci-sandbox
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
oai
openair-ci-sandbox
Commits
2e2400e3
Commit
2e2400e3
authored
Jun 04, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix syntax
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
c790554a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
14 deletions
+13
-14
scripts/Jenkinsfile
scripts/Jenkinsfile
+13
-14
No files found.
scripts/Jenkinsfile
View file @
2e2400e3
...
...
@@ -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"
}
}
}
...
...
Write
Preview
Markdown
is supported
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