浏览代码

Add source bash profile to jenkins file

Shalom Yerushalmy 7 年前
父节点
当前提交
4912542661
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      Jenkinsfile

+ 1
- 0
Jenkinsfile 查看文件

5
       steps {
5
       steps {
6
       ansiColor('xterm') {
6
       ansiColor('xterm') {
7
         sh '''#!/bin/bash -ex
7
         sh '''#!/bin/bash -ex
8
+source ~/.bash_profile
8
 npm install
9
 npm install
9
 npm run clean'''
10
 npm run clean'''
10
         }
11
         }