Add support for CI on Windows

Closes gh-865
This commit is contained in:
Madhura Bhave
2019-03-26 15:58:24 -07:00
parent 839b35bada
commit b5e1f6c921
3 changed files with 25 additions and 0 deletions

View File

@@ -72,6 +72,9 @@ resources:
repository: initializr
access_token: ((github-release-notes-access-token))
pre_release: false
- name: 24h
type: time
source: {interval: 24h}
jobs:
- name: build-initializr-ci-image
plan:
@@ -118,6 +121,16 @@ jobs:
silent: true
icon_emoji: ":concourse:"
username: concourse-ci
- name: windows-build
serial: true
public: true
plan:
- get: 24h
trigger: true
- get: git-repo
- task: build-project
tags: [WIN64]
file: git-repo/ci/tasks/build-project-windows.yml
- name: build-pull-requests
serial: true
public: true
@@ -195,6 +208,9 @@ groups:
- name: "Build"
jobs:
- build
- name: "Windows Build"
jobs:
- windows-build
- name: "Build Pull Requests"
jobs:
- "build-pull-requests"

View File

@@ -0,0 +1,3 @@
SET "JAVA_HOME=C:\opt\jdk1.8.0_161"
cd git-repo
./mvnw clean install

View File

@@ -0,0 +1,6 @@
---
platform: windows
inputs:
- name: git-repo
run:
path: git-repo/ci/scripts/build-project-windows.bat