Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
centreon
centreon
Commits
5da4611b
Commit
5da4611b
authored
Jan 31, 2022
by
Adrien Morais-Mestre
Committed by
Thomas Untoja
Feb 01, 2022
Browse files
fix(build): disable centos8 packaging (#10605)
parent
1b3b581e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
5da4611b
...
...
@@ -268,17 +268,17 @@ try {
stash
name:
"rpms-centos7"
,
includes:
'output/noarch/*.rpm'
sh
'rm -rf output'
}
},
'rpm packaging centos8'
:
{
node
{
checkoutCentreonBuild
()
unstash
'tar-sources'
sh
"./centreon-build/jobs/web/${serie}/mon-web-package.sh centos8"
archiveArtifacts
artifacts:
"rpms-centos8.tar.gz"
stash
name:
"rpms-centos8"
,
includes:
'output/noarch/*.rpm'
sh
'rm -rf output'
}
}
// 'rpm packaging centos8': {
// node {
// checkoutCentreonBuild()
// unstash 'tar-sources'
// sh "./centreon-build/jobs/web/${serie}/mon-web-package.sh centos8"
// archiveArtifacts artifacts: "rpms-centos8.tar.gz"
// stash name: "rpms-centos8", includes: 'output/noarch/*.rpm'
// sh 'rm -rf output'
// }
// }
if
((
currentBuild
.
result
?:
'SUCCESS'
)
!=
'SUCCESS'
)
{
error
(
'Unit tests // RPM Packaging Failure'
);
}
...
...
@@ -324,7 +324,7 @@ try {
sh
'rm -rf output'
unstash
'tar-sources'
unstash
'api-doc'
unstash
'rpms-centos8'
//
unstash 'rpms-centos8'
unstash
'rpms-centos7'
sh
"./centreon-build/jobs/web/${serie}/mon-web-delivery.sh"
}
...
...
@@ -335,7 +335,8 @@ try {
stage
(
"$DOCKER_STAGE"
)
{
def
parallelSteps
=
[:]
def
osBuilds
=
isStableBuild
()
?
[
'centos7'
,
'centos8'
]
:
[
'centos7'
]
// def osBuilds = isStableBuild() ? ['centos7', 'centos8'] : ['centos7']
def
osBuilds
=
[
'centos7'
]
for
(
x
in
osBuilds
)
{
def
osBuild
=
x
parallelSteps
[
osBuild
]
=
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment