Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
J
JenkinsConfiguration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChimeraTK Mirror
JenkinsConfiguration
Commits
394d7357
Commit
394d7357
authored
6 years ago
by
Martin Christoph Hierholzer
Browse files
Options
Downloads
Patches
Plain Diff
- setup build triggers automatically
- improved some comments
parent
0994333f
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
vars/buildTestDeploy.groovy
+8
-0
8 additions, 0 deletions
vars/buildTestDeploy.groovy
vars/helper.groovy
+3
-1
3 additions, 1 deletion
vars/helper.groovy
with
11 additions
and
1 deletion
vars/buildTestDeploy.groovy
+
8
−
0
View file @
394d7357
...
...
@@ -14,9 +14,17 @@ def call(ArrayList<String> dependencyList, String gitUrl='') {
'bionic-Release'
,
'tumbleweed-Debug'
,
'tumbleweed-Release'
]
def
dependencies
=
dependencyList
.
join
(
','
)
pipeline
{
agent
none
// setup build trigger
triggers
{
pollSCM
'H/5 * * * *'
upstream
dependencies
}
stages
{
stage
(
'build'
)
{
// Run the build stages for all labels + build types in parallel, each in a separate docker container
...
...
This diff is collapsed.
Click to expand it.
vars/helper.groovy
+
3
−
1
View file @
394d7357
...
...
@@ -8,12 +8,14 @@
def
doBuildTestDeploy
(
ArrayList
<
String
>
dependencyList
,
String
label
,
String
buildType
,
String
gitUrl
)
{
// prepare source directory and dependencies
doPrepare
(
true
,
gitUrl
)
doDependencyArtefacts
(
dependencyList
,
label
,
buildType
)
//
A
dd inactivity timeout of 10 minutes (build will be interrupted if 10 minutes no log output has been produced)
//
a
dd inactivity timeout of 10 minutes (build will be interrupted if 10 minutes no log output has been produced)
timeout
(
activity:
true
,
time:
10
)
{
// start build and tests, then generate artefact
doBuild
(
label
,
buildType
)
doTest
(
label
,
buildType
)
doInstall
(
label
,
buildType
)
...
...
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