Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
Actor Framework
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
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
cpp-libs
Actor Framework
Commits
ff27b948
Commit
ff27b948
authored
Aug 15, 2023
by
Samir Halilcevic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add echo commands
parent
233318dd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
Jenkinsfile
Jenkinsfile
+11
-1
No files found.
Jenkinsfile
View file @
ff27b948
...
...
@@ -167,17 +167,24 @@ pipeline {
getSources
(
config
)
}
}
stage
(
'Build'
)
{
steps
{
buildParallel
(
config
)
}
}
stage
(
'Autobahn Testsuite'
)
{
steps
{
node
(
docker
)
{
steps
{
script
{
echo
"Starting autobahn docker"
def
baseDir
=
pwd
()
def
sourceDir
=
"$baseDir/sources"
def
buildDir
=
"$baseDir/build"
def
installDir
=
"$baseDir/autobahn"
def
initFile
=
"$baseDir/init.cmake"
def
init
=
new
StringBuilder
()
echo
"Writing file"
writeFile
([
file:
'init.cmake'
,
text:
"""
...
...
@@ -191,11 +198,14 @@ pipeline {
set(CMAKE_BUILD_TYPE "release" CACHE STRING "")
"""
])
echo
"start docker"
def
image
=
docker
.
build
(
'autobahn-testsuite'
,
"sources/.ci/autobahn-testsuite"
)
image
.
inside
(
"--cap-add SYS_PTRACE"
)
{
echo
"start build"
sh
"./sources/.ci/run.sh build '$initFile' '$sourceDir' '$buildDir'"
warnError
(
'Unit Tests failed!'
)
{
sh
"./sources/.ci/autobahn-testsuite/run.sh"
echo
"start build"
sh
"./sources/.ci/autobahn-testsuite/run.sh $buildDir"
writeFile
file:
"build-autobahn.success"
,
text:
"success\n"
}
}
...
...
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