Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
59347f68
Commit
59347f68
authored
Jan 30, 2018
by
Jim Klimov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jenkinsfile : regenerated with zproject support for cppcheck among other tests
parent
70d3cc23
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
Jenkinsfile
Jenkinsfile
+17
-11
No files found.
Jenkinsfile
View file @
59347f68
...
@@ -77,17 +77,6 @@ pipeline {
...
@@ -77,17 +77,6 @@ pipeline {
// Note: your Jenkins setup may benefit from similar setup on side of agents:
// Note: your Jenkins setup may benefit from similar setup on side of agents:
// PATH="/usr/lib64/ccache:/usr/lib/ccache:/usr/bin:/bin:${PATH}"
// PATH="/usr/lib64/ccache:/usr/lib/ccache:/usr/bin:/bin:${PATH}"
stages
{
stages
{
stage
(
'cppcheck'
)
{
when
{
expression
{
return
(
params
.
DO_CPPCHECK
)
}
}
steps
{
dir
(
"tmp"
)
{
deleteDir
()
}
sh
'cppcheck --std=c++11 --enable=all --inconclusive --xml --xml-version=2 . 2>cppcheck.xml'
archiveArtifacts
artifacts:
'**/cppcheck.xml'
sh
'rm -f cppcheck.xml'
}
}
stage
(
'prepare'
)
{
stage
(
'prepare'
)
{
steps
{
steps
{
dir
(
"tmp"
)
{
dir
(
"tmp"
)
{
...
@@ -164,6 +153,23 @@ pipeline {
...
@@ -164,6 +153,23 @@ pipeline {
}
}
stage
(
'check'
)
{
stage
(
'check'
)
{
parallel
{
parallel
{
stage
(
'cppcheck'
)
{
when
{
expression
{
return
(
params
.
DO_CPPCHECK
)
}
}
steps
{
dir
(
"tmp/test-cppcheck"
)
{
deleteDir
()
unstash
'prepped'
sh
'cppcheck --std=c++11 --enable=all --inconclusive --xml --xml-version=2 . 2>cppcheck.xml'
archiveArtifacts
artifacts:
'**/cppcheck.xml'
sh
'rm -f cppcheck.xml'
script
{
if
(
params
.
DO_CLEANUP_AFTER_BUILD
)
{
deleteDir
()
}
}
}
}
}
stage
(
'check with DRAFT'
)
{
stage
(
'check with DRAFT'
)
{
when
{
expression
{
return
(
params
.
DO_BUILD_WITH_DRAFT_API
&&
params
.
DO_TEST_CHECK
)
}
}
when
{
expression
{
return
(
params
.
DO_BUILD_WITH_DRAFT_API
&&
params
.
DO_TEST_CHECK
)
}
}
steps
{
steps
{
...
...
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