pipeline script changes: xos build tests
Change-Id: Ib057b3e76c829d8104cc2eadfd674323e399879d
diff --git a/Jenkinsfile b/Jenkinsfile
index 9ed0462..ce0cdcc 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -1,10 +1,7 @@
node ('build') {
- stage('Config') {
- sh '$TARGET_MACHINE_SSH_COMMAND "\
- cd ~/service-profile; \
- echo $GERRIT_BRANCH; \
- git checkout $GERRIT_BRANCH" '
- }
+ stage 'Config'
+ checkout([$class: 'RepoScm', currentBranch: true, manifestRepositoryUrl: 'https://gerrit.opencord.org/manifest', quiet: true])
+
stage('Build') {
sh '$TARGET_MACHINE_SSH_COMMAND "\
cd ~/service-profile/frontend; \