Skip to content

Commit

Permalink
Merge branch 'oblf-21stFeb' of github.com:tekdi/shiksha-frontend into…
Browse files Browse the repository at this point in the history
… vs-updatecohortsearchlist
  • Loading branch information
vaibhavsTekdi committed Feb 21, 2024
2 parents 2645e08 + 7a061bd commit 0d0ec46
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
pipeline {
agent any
stages {
stage('clean workspace'){
steps{
cleanWs()
}
}
stage('Checkout'){

steps{

// git branch: 'main', credentialsId: 'github-1', url: 'https://github.com/tekdi/shiksha-backend.git'
// checkout scmGit(branches: [[name: '*/oblf-21stFeb']], extensions: [], userRemoteConfigs: [[credentialsId: 'github-1', url: 'https://github.com/tekdi/shiksha-backend.git']])
checkout scmGit(branches: [[name: '*/oblf-21stFeb']], extensions: [], userRemoteConfigs: [[credentialsId: 'github-1', url: 'https://github.com/tekdi/shiksha-frontend.git']])

echo "========================== ***Repository cloned Successfully*** =========================="

}
}

stage ('Build&Deploy') {

steps {

sh 'yarn install'
sh 'yarn run build'
sh './scripts/pack-prod-build.sh'
}
}

}
}

0 comments on commit 0d0ec46

Please sign in to comment.