test
parent
ac6b2c646e
commit
c228c60f22
|
@ -4,6 +4,6 @@ ENV DEBIAN_PRIORITY=critical
|
|||
|
||||
RUN apt update
|
||||
RUN apt dist-upgrade -y
|
||||
RUN apt install -y build-essential cmake g++ qt6-base-dev qt6-webengine-dev linguist-qt6 libgl1-mesa-dev qt6-tools-dev qt6-l10n-tools qt6-tools-dev-tools libqt6core5compat6-dev lxqt-build-tools qt6-webengine-dev-tools libqt6webenginecore6-bin ninja-build
|
||||
RUN apt install -y openssh-client build-essential cmake g++ qt6-base-dev qt6-webengine-dev linguist-qt6 libgl1-mesa-dev qt6-tools-dev qt6-l10n-tools qt6-tools-dev-tools libqt6core5compat6-dev lxqt-build-tools qt6-webengine-dev-tools libqt6webenginecore6-bin ninja-build
|
||||
|
||||
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
pipeline {
|
||||
agent {
|
||||
docker {
|
||||
image 'ubuntu:24.04'
|
||||
image 'ogbrowser-build:latest'
|
||||
|
||||
args '-u root:root'
|
||||
label 'jenkins-slave'
|
||||
}
|
||||
|
@ -66,7 +67,7 @@ pipeline {
|
|||
withCredentials([string(credentialsId: 'aptly-gpg-passphrase', variable: 'GPG_PASSPHRASE')]) {
|
||||
sh '''
|
||||
aptly=72.17.8.68
|
||||
scp build/OGBrowser-2.0.${BUILD_NUMBER}-Linux.deb aptly@${aptly}:/tmp
|
||||
scp -o StrictHostKeyChecking=no build/OGBrowser-2.0.${BUILD_NUMBER}-Linux.deb aptly@${aptly}:/tmp
|
||||
ssh aptly@${aptly} -o StrictHostKeyChecking=no "aptly repo add ogbrowser /tmp/OGBrowser-2.0.${BUILD_NUMBER}-Linux.deb"
|
||||
ssh aptly@${aptly} -o StrictHostKeyChecking=no "aptly publish repo --passphrase=\"${GPG_PASSPHRASE}\" -- ogbrowser"
|
||||
'''
|
||||
|
|
Loading…
Reference in New Issue