diff --git a/Jenkinsfile b/Jenkinsfile index d4e0da0c..b17906c3 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -211,7 +211,7 @@ pipeline { sh 'docker rmi ${TEMP_IMAGE_ARM64}' // Hack to clean up ec2 instance for next build - sh 'sudo chown -R ec2-user:ec2-user *' + sh 'sudo chown -R ec2-user:ec2-user * || echo "Skipping ec2 ownership"' } } }