Skip to content

Commit dad211e

Browse files
improve push
1 parent a323f38 commit dad211e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/release.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ name: Trigger Jenkins Job
33
on:
44
push:
55
branches:
6-
- remove-jenkinsfile
7-
# paths:
8-
# - superstream-clients/pom.xml
6+
- latest
7+
paths:
8+
- superstream-clients/pom.xml
99

1010
jobs:
1111
trigger-jenkins:
@@ -20,7 +20,7 @@ jobs:
2020
JENKINS_TOKEN: ${{ secrets.JENKINS_TOKEN }}
2121
run: |
2222
HTTP_STATUS=$(curl -w "%{http_code}" -o /tmp/jenkins_response.txt -f -X POST \
23-
"https://jenkins.superstream.ai/job/DevOps/jobi/Superstream/job/SDK/job/superstream-clients-java/buildWithParameters?DEPLOYMENT_TYPE=production" \
23+
"https://jenkins.superstream.ai/job/DevOps/job/Superstream/job/SDK/job/superstream-clients-java/buildWithParameters?DEPLOYMENT_TYPE=production" \
2424
--user "[email protected]:$JENKINS_TOKEN")
2525
2626
if [ $? -ne 0 ] || [ "$HTTP_STATUS" -ne 201 ] && [ "$HTTP_STATUS" -ne 200 ]; then

0 commit comments

Comments
 (0)