How to change the JDK for a Jenkins job?

后端 未结 8 2542
臣服心动
臣服心动 2020-12-09 14:46

\"enterI have imported the jenkins jobs from existing jenkins server from another machine. But

8条回答
  •  情话喂你
    2020-12-09 15:10

    For existing jobs you're editing, the JDK drop-down choice may not be available if you've just added a single JDK config in the 'Configure System' Jenkins settings.

    However, it is available for new jobs.

    Surprisingly, if you add a second JDK config, it becomes available in an existing job too.

    This looks to me like a bug (tested in Jenkins ver. 1.629).

    See a similar issue raised here: JDK selection is hidden even when a JDK is configured

提交回复
热议问题