Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zzha zzha
OpenXG-RAN
Commits
826ef8da
Commit
826ef8da
authored
Dec 29, 2015
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test for Gitlab CI
parent
c6cb903c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
3 deletions
+18
-3
.gitlab-ci.yml
.gitlab-ci.yml
+18
-3
No files found.
.gitlab-ci.yml
View file @
826ef8da
...
@@ -3,7 +3,22 @@ job1:
...
@@ -3,7 +3,22 @@ job1:
-
echo $PWD
-
echo $PWD
-
echo $USER
-
echo $USER
-
echo $OAI_USER
-
echo $OAI_USER
-
echo $NFS_SHARE_DIR
-
echo $EXTERNAL_SHARE_DIR
-
git rev-parse --abbrev-ref HEAD
-
git rev-parse --abbrev-ref HEAD
-
git rev-parse HEAD
-
git_head=`git rev-parse HEAD`
-
git branch
-
echo $git_head
-
git show-ref --head
-
tmp=`git show-ref --head | grep $git_head`
-
tmp=(${tmp///// })
-
git_branch=${tmp[@]:(-1)}
-
echo $git_branch
-
source oaienv
-
env|grep OPENAIR
-
#$OPENAIR_DIR/cmake_targets/autotests/run_exec_lte-softmodem_tests.py -r $OAI_EXTRA_ARGS >& $OPENAIR_DIR/cmake_targets/autotests/python_autotest.log
-
mv $OPENAIR_DIR/cmake_targets/autotests/python_autotest.log $OPENAIR_DIR/cmake_targets/autotests/log/python_autotest.log
-
NFS_TEST_RESULTS_DIR=$NFS_SHARE_DIR/$git_branch/$git_head
-
EXTERNAL_SHARE_RESULTS_DIR=$EXTERNAL_SHARE_DIR/$git_branch/$git_head
-
echo $NFS_TEST_RESULTS_DIR
-
echo $EXTERNAL_SHARE_RESULTS_DIR
-
sshpass -p "$OAI_PASS" rsync $OPENAIR_DIR/cmake_targets/autotests/log/ $OAI_USER@localhost:$NFS_TEST_RESULTS_DIR
-
sshpass -p "$OAI_PASS" rsync $OPENAIR_DIR/cmake_targets/autotests/log/ $OAI_USER@localhost:$EXTERNAL_SHARE_DIR
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment