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
00261650
Commit
00261650
authored
Jun 04, 2018
by
Raphael Defosseux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
another fix
Signed-off-by:
Raphael Defosseux
<
raphael.defosseux@eurecom.fr
>
parent
2e2400e3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
scripts/Jenkinsfile
scripts/Jenkinsfile
+2
-5
No files found.
scripts/Jenkinsfile
View file @
00261650
...
@@ -27,16 +27,13 @@ pipeline {
...
@@ -27,16 +27,13 @@ pipeline {
// Doing it manually --> it may have merge conflicts
// Doing it manually --> it may have merge conflicts
sh
"git merge --ff origin/${env.gitlabTargetBranch}"
sh
"git merge --ff origin/${env.gitlabTargetBranch}"
sh
"git log -n1"
sh
"git log -n1"
}
else
{
def
message
=
"OAI build #"
+
BUILD_ID
updateGitlabCommitStatus
name:
message
,
state:
'pending'
}
}
}
}
}
}
}
}
stage
(
'Build'
)
{
stage
(
'Build'
)
{
gitlabCommitStatus
(
"Build"
)
{
steps
{
steps
{
gitlabCommitStatus
(
"Build"
)
{
sh
"gcc src/test1.c -o bin/test1"
sh
"gcc src/test1.c -o bin/test1"
sh
"gcc src/test2.c -o bin/test2"
sh
"gcc src/test2.c -o bin/test2"
sh
"cppcheck --enable=warning --force --xml --xml-version=2 src 2> cppcheck.xml"
sh
"cppcheck --enable=warning --force --xml --xml-version=2 src 2> cppcheck.xml"
...
@@ -44,8 +41,8 @@ pipeline {
...
@@ -44,8 +41,8 @@ pipeline {
}
}
}
}
stage
(
'Test'
)
{
stage
(
'Test'
)
{
gitlabCommitStatus
(
"Test"
)
{
steps
{
steps
{
gitlabCommitStatus
(
"Test"
)
{
sh
"./bin/test1"
sh
"./bin/test1"
sh
"./bin/test2"
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