title: Jenkins build stuck with a message - Would you like to share anonymous usage data about this project with the Angular Team
body: <p>I recently upgraded my Angular project from v7 to v9. When deploying it to Jenkins it gets stuck at the below message as soon as any 'ng' command encountered.
  &quot;Would you like to share anonymous usage data about this project with the Angular Team&quot;.</p>
  <p>Initially the issue popped up when installing @angular-cli and devops team fixed that by setting the env variable NG_CLI_ANALYTICS=ci.
  Now the same message appearing again at the first use of 'ng' (ng lint &amp;&amp; ng test) and it waits for the inputs.</p>
  <p>I've tried to set environment variable NG_CLI_ANALYTICS with various values(i.e. off, false, CI) but nothing working for me. I have also tried to add &quot;ng analytics off&quot; as a first command using 'ng' (ng analytics off &amp;&amp; ng lint &amp;&amp; ng test) but that is also not working.</p>
  <p>please suggest what can be the issue with the project.</p>
  <p>I have tried most of the tricks suggested in the posts below with no luck.
  <a href="https://stackoverflow.com/questions/56363203/travis-build-is-hanging-waiting-for-user-input-to-install-angular">Travis build is hanging waiting for user input (To install angular)</a>
  <a href="https://stackoverflow.com/questions/56477891/circleci-build-failed-due-to-google-anonymous-usage-data-question">CircleCI build failed due to Google anonymous usage data question</a></p>
  <p>Thanks in advance.</p>