.gitlab-ci.yml 381 Bytes
Newer Older
Rohit Gupta's avatar
Rohit Gupta committed
1
job1:
2 3 4 5
  script:
   - echo $PWD
   - echo $USER
   - echo $OAI_USER
Rohit Gupta's avatar
Rohit Gupta committed
6 7
   - echo $NFS_SHARE_DIR
   - echo $EXTERNAL_SHARE_DIR
8
   - git rev-parse --abbrev-ref HEAD
Rohit Gupta's avatar
Rohit Gupta committed
9 10
   - git_head=`git rev-parse HEAD`
   - echo $git_head
Rohit Gupta's avatar
Rohit Gupta committed
11 12 13 14 15 16
   - tmp=`git show-ref --head | grep $git_head`
   - tmp=(${tmp///// })
   - git_branch=${tmp[@]:(-1)}
   - echo $git_branch
   - source oaienv
   - echo $OPENAIR_DIR