Skip to content

Commit

Permalink
Merge pull request #34 from Divyaasm/child-deploy
Browse files Browse the repository at this point in the history
Test PR
  • Loading branch information
Divyaasm authored Feb 7, 2025
2 parents 9007642 + 1851eaf commit ef79828
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 @@ -415,7 +415,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 ef79828

Please sign in to comment.