Skip to content

Commit

Permalink
ci-change
Browse files Browse the repository at this point in the history
  • Loading branch information
Manjunaathaa2001 committed Dec 9, 2024
1 parent 3ddb8ca commit e3437ad
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ pipeline {
withCredentials([string(credentialsId: 'Gitops_PAT', variable: 'GIT_TOKEN')]) {
sh """
cd ${WORKSPACE}
if [ -d "helm_charts" ]; then
rm -rf helm_charts
fi
git clone https://${GIT_TOKEN}@github.com/dojimanetwork/helm_charts.git -b azure_master
cd helm_charts
sed -i "/^ frontend:/,/^ frontend:/s|^\\(\\s*tag:\\).*|\\1 ${GITREF}_${VERSION}|" dependency_charts/blockscout-v2-frontend/values.yaml
Expand All @@ -119,6 +122,9 @@ pipeline {
withCredentials([string(credentialsId: 'Gitops_PAT', variable: 'GIT_TOKEN')]) {
sh """
cd ${WORKSPACE}
if [ -d "helm_charts" ]; then
rm -rf helm_charts
fi
git clone https://${GIT_TOKEN}@github.com/dojimanetwork/helm_charts.git -b azure_develop
cd helm_charts
sed -i "/^ frontend:/,/^ frontend:/s|^\\(\\s*tag:\\).*|\\1 ${GITREF}_${VERSION}|" dependency_charts/blockscout-v2-frontend/values.yaml
Expand All @@ -133,6 +139,9 @@ pipeline {
withCredentials([string(credentialsId: 'Gitops_PAT', variable: 'GIT_TOKEN')]) {
sh """
cd ${WORKSPACE}
if [ -d "helm_charts" ]; then
rm -rf helm_charts
fi
git clone https://${GIT_TOKEN}@github.com/dojimanetwork/helm_charts.git -b azure_stagenet
cd helm_charts
sed -i "/^ frontend:/,/^ frontend:/s|^\\(\\s*tag:\\).*|\\1 ${GITREF}_${VERSION}|" dependency_charts/blockscout-v2-frontend/values.yaml
Expand Down

0 comments on commit e3437ad

Please sign in to comment.