Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
dhtnet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
savoirfairelinux
dhtnet
Commits
1e663bbf
Commit
1e663bbf
authored
1 year ago
by
Adrien Béraud
Browse files
Options
Downloads
Patches
Plain Diff
Jenkins: configure for Gerrit
Change-Id: Idad10773f064c8e493cd12290925b6a4da958b9b
parent
90f8a5ad
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Jenkinsfile
+33
-1
33 additions, 1 deletion
Jenkinsfile
with
33 additions
and
1 deletion
Jenkinsfile
+
33
−
1
View file @
1e663bbf
pipeline
{
agent
any
triggers
{
gerrit
customUrl:
''
,
gerritProjects:
[
[
branches:
[[
compareType:
'PLAIN'
,
pattern:
'master'
]],
compareType:
'PLAIN'
,
disableStrictForbiddenFileVerification:
false
,
pattern:
'dhtnet'
]],
triggerOnEvents:
[
commentAddedContains
(
'!build'
),
patchsetCreated
(
excludeDrafts:
true
,
excludeNoCodeChange:
true
,
excludeTrivialRebase:
true
)]
}
options
{
ansiColor
(
'xterm'
)
}
parameters
{
string
(
name:
'GERRIT_REFSPEC'
,
defaultValue:
'refs/heads/dhtnet'
,
description:
'The Gerrit refspec to fetch.'
)
}
stages
{
stage
(
'SCM Checkout'
)
{
steps
{
checkout
changelog:
true
,
poll:
false
,
scm:
[
$class
:
'GitSCM'
,
branches:
[[
name:
'FETCH_HEAD'
]],
doGenerateSubmoduleConfigurations:
false
,
extensions:
[
[
$class
:
'CloneOption'
,
noTags:
true
,
reference:
''
,
shallow:
true
],
[
$class
:
'WipeWorkspace'
]],
submoduleCfg:
[],
userRemoteConfigs:
[[
refspec:
'${GERRIT_REFSPEC}'
,
url:
'https://${JAMI_GERRIT_URL}/dhtnet'
]]]
}
}
stage
(
'Build'
)
{
steps
{
script
{
...
...
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