We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7b3f66 commit 4a1f7dbCopy full SHA for 4a1f7db
Jenkinsfile
@@ -3,7 +3,7 @@ def APPNAME = "freecodecamp-mfe"
3
4
// Define which branch build and deploy need to run in the below array
5
6
-def branchfilter = ['dev']
+def branchfilter = ['dev', 'prod']
7
8
if (!branchfilter.contains(env.BRANCH_NAME)) {
9
println 'Now is not the time to run the pipeline.'
@@ -25,7 +25,7 @@ if (env.BRANCH_NAME == 'dev') {
25
}
26
27
// NOTE: main/prod is not supported yet
28
-if (env.BRANCH_NAME == 'main') {
+if (env.BRANCH_NAME == 'prod') {
29
DEPLOY_ENV = 'PROD'
30
LOGICAL_ENV = 'prod'
31
IS_BUILD = true
0 commit comments