Skip to content

Commit

Permalink
Updated config.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
logoutdhaval committed Nov 10, 2023
1 parent 1340e81 commit f16215f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,27 @@ executors:
- image: circleci/openjdk:13.0-buster-node-browsers-legacy

jobs:
check_PR_title_validity:
executor: docker-executor
environment:
JVM_OPTS: -Xmx512m
TERM: dumb
steps:
- checkout
- setup_remote_docker:
version: 20.10.14
- run:
name: Check PR name and fetch imageTag
command: |
PR_NUMBER=$(basename $CIRCLE_PULL_REQUEST)
PR_TITLE=$(curl -sSL "https://api.github.com/repos/openmf/ph-ee-importer-rdbms/pulls/$PR_NUMBER" | jq -r '.title')
result=$(echo "$PR_TITLE" | sed 's/].*\[//')
result1=$(echo "$PR_TITLE" | sed 's/.*\[\(.*\)\].*/\1/')

echo "this is ticket no $result"
echo "this is ticket no result1"
build_and_push_tag_image:
executor: docker-executor
environment:
Expand Down

0 comments on commit f16215f

Please sign in to comment.