Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LTS Track for Jenkins Snap #88

Merged
merged 6 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .github/workflows/release-to-candidate.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: Release

on:
# Run the workflow each time new commits are pushed to the candidate branch.
# Run the workflow each time new commits are pushed to the lts branch.
push:
branches: [ "candidate" ]
branches: [ "lts" ]
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -57,3 +57,4 @@ jobs:
with:
architectures: ${{ needs.get-architectures.outputs.architectures }}
github-token: ${{ secrets.GITHUB_TOKEN }}
channel: lts/candidate
27 changes: 0 additions & 27 deletions .github/workflows/sync-version-with-upstream.yml

This file was deleted.

6 changes: 3 additions & 3 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ issues: https://github.com/snapcrafters/jenkins/issues
source-code: https://github.com//snapcrafters/jenkins
license: MIT
icon: snap/local/jenkins.png
version: '2.453'

version: '2.440'
base: core22
confinement: classic
grade: stable
Expand Down Expand Up @@ -50,9 +49,10 @@ parts:
- curl
- libnss3
- ca-certificates-java
- python3-requests #for API usage

override-build: |
curl -sLO http://mirrors.jenkins.io/war/latest/jenkins.war
curl -sLO https://mirrors.jenkins.io/war/2.440/jenkins.war
mv $CRAFT_PART_INSTALL/usr/lib/jvm/java-17-openjdk-* $CRAFT_PART_INSTALL/usr/lib/jvm/java-17-openjdk
rm $CRAFT_PART_INSTALL/usr/lib/jvm/java-17-openjdk/lib/security/cacerts
cp /etc/ssl/certs/java/cacerts $CRAFT_PART_INSTALL/usr/lib/jvm/java-17-openjdk/lib/security/cacerts
Expand Down
Loading