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