jenkins_upload_packages (#16)
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
testing/ogGui-multibranch/pipeline/head There was a failure building this commit
Details
Uploads packages Reviewed-on: #16 refers #1313pull/18/head
parent
06f969f43f
commit
d4eec6e5ff
|
@ -1,4 +1,8 @@
|
||||||
# Changelog
|
# Changelog
|
||||||
|
## [0.9.2] - 2025-03-19
|
||||||
|
### Changed
|
||||||
|
- Jenkinsfile to pubilsh packages in repo in case og release
|
||||||
|
|
||||||
## [0.9.1] - 2025-03-12
|
## [0.9.1] - 2025-03-12
|
||||||
### ⚡ Changed
|
### ⚡ Changed
|
||||||
- Se ha modificado el acceso a Mercure añadiendo nueva variable de entorno.
|
- Se ha modificado el acceso a Mercure añadiendo nueva variable de entorno.
|
||||||
|
|
|
@ -55,12 +55,23 @@ pipeline {
|
||||||
sh '''
|
sh '''
|
||||||
dpkg-buildpackage -us -uc
|
dpkg-buildpackage -us -uc
|
||||||
mkdir -p ../artifacts && mv ../*.deb ../*.changes ../*.buildinfo ../artifacts/
|
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"
|
ssh aptly@172.17.8.68 "rm -rf /var/tmp/opengnsys/debian-repo/oggui && mkdir -p /var/tmp/opengnsys/debian-repo/oggui"
|
||||||
scp -r ../artifacts/* aptly@172.17.8.68:/var/tmp/opengnsys/debian-repo/
|
scp -r ../artifacts/* aptly@172.17.8.68:/var/tmp/opengnsys/debian-repo/oggui/
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
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/oggui/*.deb"
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
|
@ -68,10 +79,4 @@ pipeline {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// stage ('Publish to Debian Repository') {
|
|
||||||
// agent { label 'debian-repo' }
|
|
||||||
// steps {
|
|
||||||
// sh "aptly repo add opengnsys-devel /var/tmp/opengnsys/debian-repo/*.deb"
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue