Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
jami-client-android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
jami-client-android
Commits
19ff1f3b
Commit
19ff1f3b
authored
Jun 19, 2024
by
Pierre Nicolas
Browse files
Options
Downloads
Patches
Plain Diff
build: fix jenkins
GitLab:
#1693
Change-Id: I0a9839e4dd709c21a8baebd65783ad5e54c89376
parent
372f94bd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ci/Jenkinsfile
+12
-1
12 additions, 1 deletion
ci/Jenkinsfile
with
12 additions
and
1 deletion
ci/Jenkinsfile
+
12
−
1
View file @
19ff1f3b
...
@@ -109,7 +109,13 @@ pipeline {
...
@@ -109,7 +109,13 @@ pipeline {
script
{
script
{
sh
'su jenkins -c "cd /jami-client-android && ./compile.sh --test"'
sh
'su jenkins -c "cd /jami-client-android && ./compile.sh --test"'
sh
'cd /jami-client-android/ci && ./start_emu_headless.sh'
sh
'cd /jami-client-android/ci && ./start_emu_headless.sh'
boolean
errorOccurred
=
false
try
{
sh
'su jenkins -c "cd /jami-client-android/ci && ./jami_test.sh"'
sh
'su jenkins -c "cd /jami-client-android/ci && ./jami_test.sh"'
}
catch
(
Exception
e
)
{
errorOccurred
=
true
}
// Archive tests output save it as Jenkins artifact
// Archive tests output save it as Jenkins artifact
sh
'cd /jami-client-android/ci/spoon-output && zip -r ../ui-test-output.zip *'
sh
'cd /jami-client-android/ci/spoon-output && zip -r ../ui-test-output.zip *'
...
@@ -124,6 +130,11 @@ pipeline {
...
@@ -124,6 +130,11 @@ pipeline {
reportFiles:
'index.html'
,
reportFiles:
'index.html'
,
reportName:
"Jami UI Test Report"
reportName:
"Jami UI Test Report"
])
])
// Mark the build as failed if there was an error
if
(
errorOccurred
)
{
error
(
"Pipeline failed due to errors in the test execution."
)
}
}
}
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment