Commit 2ade9ca2 authored by Matthieu Kermagoret's avatar Matthieu Kermagoret
Browse files

refactor(build): update version from 18.9 to 18.10.

parent 59eaf066
...@@ -4,7 +4,7 @@ stage('Source') { ...@@ -4,7 +4,7 @@ stage('Source') {
dir('centreon-connector') { dir('centreon-connector') {
checkout scm checkout scm
} }
sh './centreon-build/jobs/connector/18.9/mon-connector-source.sh' sh './centreon-build/jobs/connector/18.10/mon-connector-source.sh'
source = readProperties file: 'source.properties' source = readProperties file: 'source.properties'
env.VERSION = "${source.VERSION}" env.VERSION = "${source.VERSION}"
env.RELEASE = "${source.RELEASE}" env.RELEASE = "${source.RELEASE}"
...@@ -16,7 +16,7 @@ try { ...@@ -16,7 +16,7 @@ try {
parallel 'centos7': { parallel 'centos7': {
/* node { /* node {
sh 'setup_centreon_build.sh' sh 'setup_centreon_build.sh'
sh './centreon-build/jobs/connector/18.9/mon-connector-unittest.sh centos7' sh './centreon-build/jobs/connector/18.10/mon-connector-unittest.sh centos7'
step([ step([
$class: 'XUnitBuilder', $class: 'XUnitBuilder',
thresholds: [ thresholds: [
...@@ -36,7 +36,7 @@ try { ...@@ -36,7 +36,7 @@ try {
parallel 'centos7': { parallel 'centos7': {
node { node {
sh 'setup_centreon_build.sh' sh 'setup_centreon_build.sh'
sh './centreon-build/jobs/connector/18.9/mon-connector-package.sh centos7' sh './centreon-build/jobs/connector/18.10/mon-connector-package.sh centos7'
} }
} }
if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') { if ((currentBuild.result ?: 'SUCCESS') != 'SUCCESS') {
......
...@@ -27,7 +27,7 @@ include_directories("${PROJECT_SOURCE_DIR}/inc") ...@@ -27,7 +27,7 @@ include_directories("${PROJECT_SOURCE_DIR}/inc")
# Project version. # Project version.
set(CONNECTOR_PERL_MAJOR 18) set(CONNECTOR_PERL_MAJOR 18)
set(CONNECTOR_PERL_MINOR 9) set(CONNECTOR_PERL_MINOR 10)
set(CONNECTOR_PERL_PATCH 0) set(CONNECTOR_PERL_PATCH 0)
set(CONNECTOR_PERL_VERSION "${CONNECTOR_PERL_MAJOR}.${CONNECTOR_PERL_MINOR}.${CONNECTOR_PERL_PATCH}") set(CONNECTOR_PERL_VERSION "${CONNECTOR_PERL_MAJOR}.${CONNECTOR_PERL_MINOR}.${CONNECTOR_PERL_PATCH}")
add_definitions(-DCENTREON_CONNECTOR_PERL_VERSION=\"${CONNECTOR_PERL_VERSION}\") add_definitions(-DCENTREON_CONNECTOR_PERL_VERSION=\"${CONNECTOR_PERL_VERSION}\")
......
...@@ -27,7 +27,7 @@ include_directories("${PROJECT_SOURCE_DIR}/inc") ...@@ -27,7 +27,7 @@ include_directories("${PROJECT_SOURCE_DIR}/inc")
# Project version. # Project version.
set(CONNECTOR_SSH_MAJOR 18) set(CONNECTOR_SSH_MAJOR 18)
set(CONNECTOR_SSH_MINOR 9) set(CONNECTOR_SSH_MINOR 10)
set(CONNECTOR_SSH_PATCH 0) set(CONNECTOR_SSH_PATCH 0)
set(CONNECTOR_SSH_VERSION "${CONNECTOR_SSH_MAJOR}.${CONNECTOR_SSH_MINOR}.${CONNECTOR_SSH_PATCH}") set(CONNECTOR_SSH_VERSION "${CONNECTOR_SSH_MAJOR}.${CONNECTOR_SSH_MINOR}.${CONNECTOR_SSH_PATCH}")
add_definitions(-DCENTREON_CONNECTOR_SSH_VERSION=\"${CONNECTOR_SSH_VERSION}\") add_definitions(-DCENTREON_CONNECTOR_SSH_VERSION=\"${CONNECTOR_SSH_VERSION}\")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment