Skip to content

Commit 7934029

Browse files
committed
build: update workflow config
1 parent 41cd7ff commit 7934029

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

.github/workflows/build.yml

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ on: # https://docs.github.com/en/actions/reference/workflows-and-actions/events
3838
required: false
3939
default: ''
4040
debug-with-ssh:
41-
description: "Start an SSH session for debugging purposes at the end of the build:"
41+
description: "When to open an SSH session for post-build debugging:"
4242
default: never
4343
type: choice
4444
options: [ always, on_failure, on_failure_or_cancelled, never ]
4545
debug-with-ssh-only-for-actor:
46-
description: "Limit access to the SSH session to the GitHub user that triggered the job."
46+
description: "Restrict SSH debug session access to the GitHub user who triggered the workflow"
4747
default: true
4848
type: boolean
4949

@@ -64,22 +64,23 @@ jobs:
6464
matrix:
6565
os: # https://github.com/actions/runner-images#available-images
6666
- ubuntu-latest
67-
- macos-15-intel # Intel
68-
- macos-latest # ARM
67+
- macos-15-intel # Intel
68+
- macos-latest # ARM
6969
- windows-latest
7070
target-platform:
7171
- oldest
7272
- latest
73-
- unstable
73+
- staging
7474

7575
runs-on: ${{ matrix.os }}
7676
timeout-minutes: 15
7777

78+
7879
steps:
7980
- name: "Show: GitHub context"
8081
env:
8182
GITHUB_CONTEXT: ${{ toJSON(github) }}
82-
run: echo $GITHUB_CONTEXT
83+
run: printf '%s' "$GITHUB_CONTEXT" | python -m json.tool
8384

8485

8586
- name: "Show: environment variables"
@@ -167,7 +168,7 @@ jobs:
167168

168169

169170
- name: "Build with Maven 🔨"
170-
continue-on-error: ${{ matrix.target-platform == 'unstable' }}
171+
continue-on-error: ${{ matrix.target-platform == 'staging' }}
171172
run: |
172173
set -euo pipefail
173174
@@ -213,6 +214,15 @@ jobs:
213214
)
214215
215216
217+
- name: "Upload: Repository Zip"
218+
uses: actions/upload-artifact@v4
219+
if: always()
220+
with:
221+
name: org.eclipse.tm4e.repository-${{matrix.target-platform}}-${{matrix.os}}
222+
path: org.eclipse.tm4e.repository/target/org.eclipse.tm4e.repository-*.zip
223+
retention-days: 14
224+
225+
216226
##################################################
217227
# Setup SSH debug session
218228
##################################################

Jenkinsfile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
pipeline {
2+
agent {
3+
label 'centos-latest'
4+
}
5+
6+
triggers {
7+
githubPush()
8+
}
9+
210
options {
311
timeout(time: 20, unit: 'MINUTES')
412
buildDiscarder(logRotator(numToKeepStr: '10'))
5-
}
6-
7-
agent {
8-
label 'centos-latest'
13+
disableConcurrentBuilds(abortPrevious: false)
914
}
1015

1116
tools {
@@ -79,7 +84,7 @@ pipeline {
7984
post {
8085
always {
8186
archiveArtifacts artifacts: 'org.eclipse.tm4e.repository/target/repository/**/*,org.eclipse.tm4e.repository/target/*.zip,*/target/work/data/.metadata/.log'
82-
junit '*/target/surefire-reports/TEST-*.xml'
87+
junit '**/target/surefire-reports/TEST-*.xml'
8388
}
8489
}
8590
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<unit id="org.eclipse.license.feature.group" version="2.0.2.v20181016-2210"/>
99
</location>
1010

11-
<!-- 4.35 = Eclipse 2025-12 -->
11+
<!-- 4.38 = Eclipse 2025-12 -->
1212
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
1313
<repository location="https://download.eclipse.org/eclipse/updates/4.38-I-builds"/>
1414
<unit id="org.eclipse.platform.feature.group" version="0.0.0"/>
@@ -19,7 +19,7 @@
1919
</location>
2020

2121
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
22-
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/latest"/>
22+
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/milestone/latest"/>
2323
<unit id="assertj-core" version="0.0.0"/>
2424
<unit id="assertj-core.source" version="0.0.0"/>
2525
<unit id="com.google.gson" version="0.0.0"/>

0 commit comments

Comments
 (0)