Skip to content

Commit e03ae91

Browse files
authored
🔧 chore: env 파일 통째로 교체하도록 개선
1 parent b11f4fc commit e03ae91

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Jenkinsfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ pipeline {
4747
sh '''
4848
mkdir -p src/main/resources
4949
# ENV_PROPERTIES_FILE_PATH 변수에는 임시 파일의 경로가 담겨있음
50+
rm -f src/main/resources/env.properties
5051
cp "${ENV_PROPERTIES_FILE_PATH}" src/main/resources/env.properties
5152
echo "${GOOGLE_JSON_B64}" | base64 -d > src/main/resources/google.json
5253
echo "${FIREBASE_KEY_B64}" | base64 -d > src/main/resources/whiplash-firebase-key.json
@@ -120,4 +121,4 @@ pipeline {
120121
sh 'docker logout || true'
121122
}
122123
}
123-
}
124+
}

0 commit comments

Comments
 (0)