File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pipeline {
43
43
unstash ' buildUbuntu'
44
44
sh '''
45
45
. $HOME/.bash_profile
46
- if ! /usr/bin/pgrep mongod &>/dev/null;
46
+ if ! /usr/bin/pgrep mongod &>/dev/null; then
47
47
/usr/bin/mongod -f /etc/mongod.conf > /dev/null 2>&1 &
48
48
fi
49
49
cd build
@@ -73,8 +73,8 @@ pipeline {
73
73
unstash ' buildMacOS'
74
74
sh '''
75
75
. $HOME/.bash_profile
76
- if ! /usr/bin/pgrep mongod &>/dev/null;
77
- /usr/bin/mongod -f /etc/mongod.conf > /dev/null 2>&1 &
76
+ if ! /usr/bin/pgrep mongod &>/dev/null; then
77
+ /usr/local/ bin/mongod -f /usr/local /etc/mongod.conf > /dev/null 2>&1 &
78
78
fi
79
79
cd build
80
80
ctest --output-on-failure
@@ -89,7 +89,7 @@ pipeline {
89
89
}
90
90
always {
91
91
sh '''
92
- /usr/bin/mongod --shutdown
92
+ /usr/local/ bin/mongod --shutdown
93
93
'''
94
94
}
95
95
}
@@ -100,7 +100,7 @@ pipeline {
100
100
unstash ' buildFedora'
101
101
sh '''
102
102
. $HOME/.bash_profile
103
- if ! /usr/bin/pgrep mongod &>/dev/null;
103
+ if ! /usr/bin/pgrep mongod &>/dev/null; then
104
104
/usr/bin/mongod -f /etc/mongod.conf > /dev/null 2>&1 &
105
105
fi
106
106
cd build
You can’t perform that action at this time.
0 commit comments