Skip to content

Commit

Permalink
[FIXUP] enhancements
Browse files Browse the repository at this point in the history
  • Loading branch information
HannesWell committed Jul 12, 2024
1 parent e051a40 commit 4f89a2f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@
def runOnNativeBuildAgent(String platform, Closure body) {
def final nativeBuildStageName = 'Perform native launcher build'
if (platform == 'gtk.linux.x86_64') {
podTemplate(inheritFrom: 'centos-8', containers: [
podTemplate(containers: [
containerTemplate(name: 'jnlp', image: 'eclipsecbi/jiro-agent-centos-8',
resourceRequestCpu:'1000m', resourceRequestMemory:'512Mi',
resourceLimitCpu:'2000m', resourceLimitMemory:'4096Mi'
)
]) { node(POD_LABEL) { stage(nativeBuildStageName) { container('jnlp') {
]) { node(POD_LABEL) { stage(nativeBuildStageName) {
sh '''
#TODO try dnf
#sudo yum -y install gtk3-devel
yum -y install gtk3-devel
'''
body.call()
} } } }
} } }
} else {
if (platform == 'cocoa.macosx.x86_64') {
platform = 'cocoa.macosx.aarch64'
Expand Down

0 comments on commit 4f89a2f

Please sign in to comment.