Skip to content

Commit

Permalink
build: avoid triggereing jenkins on release
Browse files Browse the repository at this point in the history
  • Loading branch information
ndr-brt authored Jan 24, 2023
1 parent cc5b348 commit a6fdb2a
Showing 1 changed file with 1 addition and 16 deletions.
17 changes: 1 addition & 16 deletions .github/workflows/release-edc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,22 +37,7 @@ jobs:
source_ref: ${{ github.ref }}
target_branch: 'releases'
commit_message_template: 'Merge commit for release of version v${{ env.EDC_VERSION }}'

# Trigger EF Jenkins. This job waits for Jenkins to complete the publishing, which may take a long time, because every
# module is signed individually, and parallelism is not available. Hence, the increased timeout of 3600 seconds.
# There is no way to cancel the process on Jenkins from withing GitHub.
- name: Trigger Release on EF Jenkins
uses: toptal/jenkins-job-trigger-action@master
with:
jenkins_url: "https://ci.eclipse.org/edc/"
jenkins_user: ${{ secrets.EF_JENKINS_USER }}
jenkins_token: ${{ secrets.EF_JENKINS_TOKEN }}
job_name: "EDC-Autobuild-Release"
job_params: |
{
"VERSION": "${{ env.EDC_VERSION }}"
}
job_timeout: "3600" # Default 30 sec. (optional)

outputs:
edc-version: ${{ env.EDC_VERSION }}

Expand Down

0 comments on commit a6fdb2a

Please sign in to comment.