Skip to content

Jenkins Clean Custom Workspace Job #51

Jenkins Clean Custom Workspace Job

Jenkins Clean Custom Workspace Job #51

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 ${{ secrets.JENKINS_ADMIN }}:${{ secrets.JENKINS_TOKEN }}
-d branch=${{ github.event.ref }}
https://jenkins.teamlab.info/job/clean-ws/buildWithParameters