-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
29 lines (29 loc) · 970 Bytes
/
Jenkinsfile
File metadata and controls
29 lines (29 loc) · 970 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
buildDeployService {
email = "%owner_email%"
platform = "node"
nodeVersion = "16"
initialDelaySeconds = "20"
healthUri = "%health_uri%"
ingressType = "root-context"
args = []
envs = [
'{"env": {"name": "NODE_ENV", "value": "%env%"}}',
'{"secretEnv":{"name": "SNOWFLAKE_PASSWORD", "secretKey": "SNOWFLAKE_PASSWORD", "secretName": "%secret_name%"}}',
'{"secretEnv":{"name": "MSSQL_PASSWORD", "secretKey": "MSSQL_PASSWORD", "secretName": "%secret_name%"}}',
'{"secretEnv":{"name": "JWT_SECRET", "secretKey": "JWT_SECRET", "secretName": "%secret_name%"}}',
]
contextPath = "/"
context= "internal"
deployLocations = "%deploy_locations%"
namespace = "%namespace%"
snyk = ["org": "%snyk-org%", "environment": "backend", "devBranch": "dev"]
cors = [
'enabled': 'true',
'allowOrigin': '*',
'allowCredentials': 'true'
]
buildCommands = [
"CI=true npm install",
"CI=true npm run build"
]
}