Skip to content

Commit 757a9ce

Browse files
test
1 parent 130e7e9 commit 757a9ce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

replaceVar.sh

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
11
#!/bin/bash
22

3-
sed -i "" -e "s|%MONGO_PWD%|MONGO_PWD|g" src/main/resources/application.properties
3+
echo "replacing secrets from travis secure variables"
4+
sed -i "" -e "s|%MONGO_PWD%|MONGO_PWD|g" src/main/resources/application.properties
5+
6+
actual_value=MONGO_PWD
7+
8+
echo $actual_value

0 commit comments

Comments
 (0)