Skip to content
GitLab
Menu
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
6ed7c54d
Commit
6ed7c54d
authored
Dec 03, 2020
by
jeremyjaouen
Committed by
Thomas Untoja
Dec 21, 2020
Browse files
remove centos6 from Jenkinsfile (#9272)
parent
9b616c06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Jenkinsfile
View file @
6ed7c54d
...
...
@@ -23,13 +23,7 @@ stage('Source') {
try
{
stage
(
'Unit tests'
)
{
parallel
'centos6'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-unittest.sh centos6'
}
},
'centos7'
:
{
parallel
'centos7'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-unittest.sh centos7'
...
...
@@ -54,13 +48,7 @@ try {
}
stage
(
'Package'
)
{
parallel
'centos6'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-package.sh centos6'
}
},
'centos7'
:
{
parallel
'centos7'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-package.sh centos7'
...
...
@@ -72,13 +60,7 @@ try {
}
stage
(
'Bundle'
)
{
parallel
'centos6'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-bundle.sh centos6'
}
},
'centos7'
:
{
parallel
'centos7'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-bundle.sh centos7'
...
...
@@ -90,17 +72,7 @@ try {
}
stage
(
'Critical tests'
)
{
parallel
'centos6'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-acceptance.sh centos6 @critical'
junit
'xunit-reports/**/*.xml'
if
(
currentBuild
.
result
==
'UNSTABLE'
)
currentBuild
.
result
=
'FAILURE'
archiveArtifacts
allowEmptyArchive:
true
,
artifacts:
'acceptance-logs/*.txt, acceptance-logs/*.png'
}
},
'centos7'
:
{
parallel
'centos7'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-acceptance.sh centos7 @critical'
...
...
@@ -117,17 +89,7 @@ try {
if
(
env
.
BRANCH_NAME
==
'2.8.x'
)
{
stage
(
'Acceptance tests'
)
{
parallel
'centos6'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-acceptance.sh centos6 ~@critical'
junit
'xunit-reports/**/*.xml'
if
(
currentBuild
.
result
==
'UNSTABLE'
)
currentBuild
.
result
=
'FAILURE'
archiveArtifacts
allowEmptyArchive:
true
,
artifacts:
'acceptance-logs/*.txt, acceptance-logs/*.png'
}
},
'centos7'
:
{
parallel
'centos7'
:
{
node
{
sh
'setup_centreon_build.sh'
sh
'./centreon-build/jobs/web/3.4/mon-web-acceptance.sh centos7 ~@critical'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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