File tree Expand file tree Collapse file tree 1 file changed +5
-26
lines changed
Expand file tree Collapse file tree 1 file changed +5
-26
lines changed Original file line number Diff line number Diff line change 1- name : " Create Snapshot Build"
1+ name : " Publish Snapshot Build"
22
33on :
44 push :
55 branches :
66 - main
77
88jobs :
9- Trigger-Snapshot :
10- runs-on : ubuntu-latest
11- # forks cannot trigger Jenkins
12- if : github.repository == 'eclipse-edc/GradlePlugins'
13- steps :
14- # Trigger EF Jenkins. This job waits for Jenkins to complete the publishing, which may take a long time, because every
15- # module is signed individually, and parallelism is not available. Hence, the increased timeout of 3600 seconds.
16- # There is no way to cancel the process on Jenkins from withing GitHub.
17- - name : Call Jenkins API to trigger build
18- id : runjenkins
19- uses : toptal/jenkins-job-trigger-action@master
20- with :
21- jenkins_url : " https://ci.eclipse.org/edc/"
22- jenkins_user : ${{ secrets.EF_JENKINS_USER }}
23- jenkins_token : ${{ secrets.EF_JENKINS_TOKEN }}
24- # empty params are needed, otherwise the job will fail.
25- job_params : |
26- {
27- "REPO": "https://github.com/eclipse-edc/GradlePlugins"
28- }
29- job_name : " Publish-Component"
30- job_timeout : " 3600" # Default 30 sec. (optional)
9+ Publish-Snapshot :
10+ # This workflow will abort if the required secrets don't exist
11+ uses : eclipse-edc/.github/.github/workflows/publish-snapshot.yml@main
12+ secrets : inherit
3113
32- - name : Log Jenkins URL
33- run :
34- echo "::notice title=Jenkins URL::${{ steps.runjenkins.outputs.jenkins_job_url }} "
You can’t perform that action at this time.
0 commit comments