Skip to content

Commit 4a341b6

Browse files
add github wf
1 parent c5fd85d commit 4a341b6

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/release.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Trigger Jenkins Job
2+
3+
on:
4+
push:
5+
branches:
6+
- remove-jenkinsfile
7+
# paths:
8+
# - superstream-clients/pom.xml
9+
10+
jobs:
11+
trigger-jenkins:
12+
runs-on: self-hosted
13+
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v3
17+
18+
- name: Trigger Jenkins Job
19+
env:
20+
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}
21+
run: |
22+
curl -X POST https://jenkins.superstream.ai/job/DevOps/job/Superstream/job/SDK/job/superstream-clients-python/buildWithParameters?DEPLOYMENT_TYPE=production \
23+
--user "[email protected]:$JENKINS_TOKEN" \
24+
--header "Content-Type: application/json"

0 commit comments

Comments
 (0)