File: jdk.yml

package info (click to toggle)
python-jpype 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,348 kB
  • sloc: python: 19,275; cpp: 18,049; java: 8,638; xml: 1,454; makefile: 155; sh: 37
file content (15 lines) | stat: -rw-r--r-- 425 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
parameters:
- name: version
  type: string
  default: '8'

steps:
  - task: JavaToolInstaller@0
    inputs:
      versionSpec: ${{ parameters.version }}
      jdkArchitectureOption: 'x64'
      jdkSourceOption: 'PreInstalled'
  - bash: |
      echo AGENT_JOBSTATUS = $AGENT_JOBSTATUS
      if [[ "$AGENT_JOBSTATUS" == "SucceededWithIssues" ]]; then exit 1; fi
    displayName: JDK ${{ parameters.version }} set as JAVA_HOME.