Conversation
| sh ''' | ||
| docker build -t $docker_server/$docker_repo:latest . | ||
| ''' | ||
| } else if (env.BRANCH_NAME == 'main' || env.BRANCH_NAME == 'staging'){ |
There was a problem hiding this comment.
What is the logic here, and why for both main and staging? we are building latest tagged repo ?
There was a problem hiding this comment.
it is written
if any changes happens at main branch then it will pickup the command mentioned in that and if any changes push on staging then it will take that changes
and also in last stage it will deploy it according to changes pushed to respective
branch
There was a problem hiding this comment.
For main, it will never go to the second if. Please walk through the if else logic once. Also verify the tags again.
There was a problem hiding this comment.
yes
but if it is for staging then ?
then it will go for 2nd na
?
AbhilashKD
left a comment
There was a problem hiding this comment.
Fixed the typo error
|
LGTM |
|
Please fix the merge conflicts |
No description provided.