Compare commits

...

5 Commits

Author SHA1 Message Date
Juan Manuel Bardallo 623b115fe5 Merge pull request 'docs(changelog): add 0.7.4 release notes for DHCP leases API' (#13) from devel into main
ogdhcp/pipeline/head This commit looks good Details
ogdhcp/pipeline/tag This commit looks good Details
ogaquarium/pipeline/head Build started... Details
Reviewed-on: #13
2026-07-31 10:17:57 +02:00
Juan Manuel Bardallo a8ed1b833a docs(changelog): add 0.7.4 release notes for DHCP leases API
ogdhcp/pipeline/head This commit looks good Details
ogaquarium/pipeline/head Build started... Details
2026-07-31 10:12:18 +02:00
Nicolas Arenas 01a834776f Merge branch 'devel'
ogdhcp/pipeline/head This commit looks good Details
2026-05-14 18:17:57 +02:00
Nicolas Arenas 67952b6f8b Update jenkinsfile
ogdhcp/pipeline/head This commit looks good Details
2026-05-14 18:05:20 +02:00
Nicolas Arenas 603d6e00e2 Merge pull request 'Add endpoints to remove leases from subnet and host' (#12) from add_clean_leases into main
ogdhcp/pipeline/head This commit looks good Details
Reviewed-on: #12
2026-04-20 13:47:46 +02:00
2 changed files with 38 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## [0.7.4] - 2026-07-31
### Added
- Añadidos endpoints a la API para eliminar concesiones (leases) a nivel de host y de subred.
- Añadido el hook de leases a la configuración de Kea.
## [0.7.3] - 2025-10-20
### Fixed
- Arregla el código de DNS en el kea cuando se actualiza la información de una subred existente.

View File

@ -61,6 +61,19 @@ pipeline {
}
}
stage('Generate Changelog (Devel)') {
when {
branch 'devel'
}
steps {
script {
def devName = params.DEV_NAME ? params.DEV_NAME : env.DEFAULT_DEV_NAME
def devEmail = params.DEV_EMAIL ? params.DEV_EMAIL : env.DEFAULT_DEV_EMAIL
generateDebianChangelog(env.BUILD_DIR, devName, devEmail, "devel")
}
}
}
stage('Build') {
steps {
script {
@ -96,6 +109,19 @@ pipeline {
}
}
}
stage ('Publish to Debian Repository (Devel)') {
when {
branch 'devel'
}
agent { label 'debian-repo' }
steps {
script {
def versionPattern = "-${env.BUILD_NUMBER}~devel"
publicarEnAptly('/var/tmp/opengnsys/debian-repo/ogdhcp', 'devel', versionPattern)
}
}
}
}
post {
success {
@ -108,6 +134,13 @@ pipeline {
string(name: 'TRIGGERED_BY', value: "${env.JOB_NAME}-${env.BUILD_NUMBER}")
]
}
if (env.BRANCH_NAME == 'devel') {
build job: 'Aptly publish develop repository',
wait: false,
parameters: [
string(name: 'TRIGGERED_BY', value: "${env.JOB_NAME}-${env.BUILD_NUMBER}")
]
}
}
}
always {