Skip to content

Jenkins Clean Custom Workspace Job #42

Jenkins Clean Custom Workspace Job

Jenkins Clean Custom Workspace Job #42

name: Jenkins Clean Custom Workspace Job
on: delete
jobs:
jenkins-remote-job:
if: ${{ startsWith(github.event.ref, 'hotfix') || startsWith(github.event.ref, 'release') }}
runs-on: ubuntu-latest
steps:
- name: curl
uses: wei/curl@v1
with:
args: >
-X POST -L -k
-u heatray:${{ secrets.JENKINS_TOKEN }}
-d branch=${{ github.event.ref }}
https://jenkins.teamlab.info/job/clean-ws/buildWithParameters