Skip to content

Commit

Permalink
Only check Conda environments on USE_PIXI
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Luis Rivero <[email protected]>
  • Loading branch information
j-rivero committed Jan 27, 2025
1 parent 1e4b9dc commit 3163227
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions jenkins-scripts/dsl/gazebo_libs.dsl
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,12 @@ void add_win_devel_bat_call(gz_win_ci_job, lib_name, ws_checkout_dir, config_ver
batchFile("""\
set VCS_DIRECTORY=${ws_checkout_dir}
set CONDA_ENV_NAME=${config_version}
if defined(USE_PIXI) (
if not exist "/.scripts/conda/envs/%CONDA_ENV_NAME%" (
echo "Conda environment %CONDA_ENV_NAME% not found"
exit 1
)
)
call "./scripts/jenkins-scripts/${script_name_prefix}-default-devel-windows-amd64.bat"
""".stripIndent())
}
Expand Down

0 comments on commit 3163227

Please sign in to comment.