Compare commits

...

2 Commits

Author SHA1 Message Date
Nicolas Arenas 0e4475dd1b Modified Jnenkinsfiles
testing/og-dhcp-API/pipeline/head There was a failure building this commit Details
ogdhcp/pipeline/head This commit looks good Details
testing/og-dhcp-API/pipeline/pr-main Build started... Details
2025-03-19 13:00:46 +01:00
Nicolas Arenas fd3eb0133f Modified Jnenkinsfiles
testing/og-dhcp-API/pipeline/head There was a failure building this commit Details
ogdhcp/pipeline/head There was a failure building this commit Details
2025-03-19 12:58:50 +01:00
2 changed files with 17 additions and 2 deletions

View File

@ -1,5 +1,9 @@
# Changelog
## [0.6.1] - 2025-03-19
### Changed
- Modified Jenkinsfile to publish packages
## [0.6.0] - 2025-03-03
### Added
- Nuevos parámetros a la subred: `dns` y `subnetname`, añadiéndolos a la configuración de Kea.

View File

@ -55,10 +55,21 @@ pipeline {
sh '''
dpkg-buildpackage -us -uc
mkdir -p ../artifacts && mv ../*.deb ../*.changes ../*.buildinfo ../artifacts/
ssh aptly@172.17.8.68 "rm -rf /var/tmp/opengnsys/debian-repo && mkdir -p /var/tmp/opengnsys/debian-repo"
scp -r ../artifacts/* aptly@172.17.8.68:/var/tmp/opengnsys/debian-repo/
ssh aptly@172.17.8.68 "rm -rf /var/tmp/opengnsys/debian-repo/ogdhcp && mkdir -p /var/tmp/opengnsys/debian-repo/ogdhcp"
scp -r ../artifacts/* aptly@172.17.8.68:/var/tmp/opengnsys/debian-repo/ogdhcp
'''
}
}
}
stage ('Publish to Debian Repository') {
when {
expression {
return env.TAG_NAME != null
}
}
agent { label 'debian-repo' }
steps {
sh "aptly repo add opengnsys-devel /var/tmp/opengnsys/debian-repo/ogdhcp/*.deb"
}
}
}