Skip to content

Commit

Permalink
Test PR
Browse files Browse the repository at this point in the history
Signed-off-by: Divya Madala <[email protected]>
  • Loading branch information
Divyaasm committed Feb 7, 2025
1 parent 5f66f2e commit 1851eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compute/jenkins-main-node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,7 @@ export class JenkinsMainNode {
InitCommand.shellCommand('/opt/aws/amazon-cloudwatch-agent/bin/amazon-cloudwatch-agent-ctl -a fetch-config -m ec2 -c file:/opt/aws/amazon-cloudwatch-agent/etc/amazon-cloudwatch-agent.json -s'),

InitCommand.shellCommand(dataRetentionProps.dataRetention
? `mkdir /var/lib/jenkins && mount -t efs ${efsId} /var/lib/jenkins`
? `mkdir -p /var/lib/jenkins && mount -t efs ${efsId} /var/lib/jenkins`
: 'echo Data rentention is disabled, not mounting efs'),

InitFile.fromFileInline('/docker-compose.yml', join(__dirname, '../../resources/docker-compose.yml')),
Expand Down

0 comments on commit 1851eaf

Please sign in to comment.