All variants run the same Drupal version when the pipeline is triggered via web
>>> [!note] Migrated issue
<!-- Drupal.org comment -->
<!-- Migrated from issue #3441816. -->
Reported by: [jonathan1055](https://www.drupal.org/user/92645)
Related to !190 !193
>>>
<p><strong>Problem</strong><br>
Previously the core version and other details were displayed in PHPunit jobs using <code>drush status</code>. But recently, drush had to be removed and the context information was done in a different way.</p>
<p>However, it seems that the phpunit variant jobs for 'next minor', 'previous major' all now show the current core version in the log. See the attached screen grabs which all <a href="https://git.drupalcode.org/issue/scheduler-3437739/-/pipelines/150061">come from this pipeline</a></p>
<p><strong>Findings</strong><br>
The issue happens when triggering a pipeline via the UI with all the values prepopulated, as these values go to all variants, including _TARGET_CORE.</p>
<p>Everything here likewise applies to the <code>_TARGET_PHP</code> variable.</p>
<p><strong>Proposed resolution</strong><br>
Document this issue in the docs.</p>
<p>Also thought about not running pipelines on <code>CI_PIPELINE_SOURCE=web</code> but this might limit actual use cases and might be too radical, so I don't think we should do this.</p>
> Related issue: [Issue #3440568](https://www.drupal.org/node/3440568)
> Related issue: [Issue #3343522](https://www.drupal.org/node/3343522)
issue