Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
opSimulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
Eclipse openpass
opSimulation
Commits
489a1194
Commit
489a1194
authored
2 weeks ago
by
Raghunandan Netrapalli Madhusudhan
Browse files
Options
Downloads
Patches
Plain Diff
copy artifacts from downstream
parent
51061156
No related branches found
No related tags found
No related merge requests found
Pipeline
#70965
failed
2 weeks ago
Stage: external
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
utils/ci/Jenkinsfile
+24
-7
24 additions, 7 deletions
utils/ci/Jenkinsfile
utils/ci/scripts/prepare.sh
+31
-0
31 additions, 0 deletions
utils/ci/scripts/prepare.sh
with
55 additions
and
7 deletions
utils/ci/Jenkinsfile
+
24
−
7
View file @
489a1194
...
...
@@ -98,22 +98,39 @@ spec:
PYTHON_EXECUTABLE
=
'python3'
}
stages
{
stage
(
'Linux: Cleanup'
)
{
steps
{
container
(
'openpass-build'
)
{
sh
'bash repo/utils/ci/scripts/prepare.sh'
}
}
}
stage
(
'Run E2E'
)
{
steps
{
build
job:
'opEnd2End_Test'
,
parameters:
[
string
(
name:
'OPTESTRUNNER_URL'
,
value:
"${env.OPTESTRUNNER_URL}"
),
string
(
name:
'GECCO_URL'
,
value:
"${env.GECCO_URL}"
),
string
(
name:
'GTGEN_CLI_URL'
,
value:
"${env.GTGEN_CLI_URL}"
),
string
(
name:
'GTGEN_SIM_URL'
,
value:
"${env.GTGEN_SIM_URL}"
)],
propagate:
true
script
{
def
e2eDownStream
=
build
(
job:
'opEnd2End_Test'
,
parameters:
[
string
(
name:
'OPTESTRUNNER_URL'
,
value:
"${env.OPTESTRUNNER_URL}"
),
string
(
name:
'GECCO_URL'
,
value:
"${env.GECCO_URL}"
),
string
(
name:
'GTGEN_CLI_URL'
,
value:
"${env.GTGEN_CLI_URL}"
),
string
(
name:
'GTGEN_SIM_URL'
,
value:
"${env.GTGEN_SIM_URL}"
)],
propagate:
true
,
wait:
true
)
echo
"Copying artifacts from build #${e2eDownStream.number}"
copyArtifacts
(
projectName:
'opEnd2End_Test'
,
selector:
specific
(
"${e2eDownStream.number}"
),
filter:
'**/*.tar.gz'
,
target:
'artifacts/'
)
}
}
}
}
post
{
always
{
script
{
sh
'bash repo/utils/ci/scripts/90_pack_artifacts.sh'
//
sh 'bash repo/utils/ci/scripts/90_pack_artifacts.sh'
archiveArtifacts
allowEmptyArchive:
true
,
artifacts:
'artifacts/**'
,
followSymlinks:
false
junit
allowEmptyResults:
true
,
testResults:
'build/**/*Tests.xml,repo/sim/tests/endToEndTests/pyOpenPASS/result_*.xml'
}
}
}
...
...
This diff is collapsed.
Click to expand it.
utils/ci/scripts/prepare.sh
0 → 100755
+
31
−
0
View file @
489a1194
#!/bin/bash
################################################################################
# Copyright (c) 2021 in-tech GmbH
# 2022-2025 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License 2.0 which is available at
# http://www.eclipse.org/legal/epl-2.0.
#
# SPDX-License-Identifier: EPL-2.0
################################################################################
################################################################################
# This script prepares building
################################################################################
MYDIR
=
"
$(
dirname
"
$(
readlink
-f
$0
)
"
)
"
cd
"
$MYDIR
/../../../.."
||
exit
1
if
[
!
-d
repo
]
;
then
echo
"repo folder doesn't exist as expected. exiting."
exit
1
fi
# wipe build directories and pyOpenPASS results
rm
-rf
artifacts deps
mkdir
artifacts
printenv
exit
0
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