Skip to content

Commit

Permalink
debug on Azure CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ppalaga committed May 9, 2019
1 parent c7739cc commit 149617b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 42 deletions.
42 changes: 2 additions & 40 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,43 +33,5 @@ jobs:

steps:

- script: docker run --rm --publish 5432:5432 --name build-postgres -e POSTGRES_USER=hibernate_orm_test -e POSTGRES_PASSWORD=hibernate_orm_test -e POSTGRES_DB=hibernate_orm_test -d postgres:10.5
displayName: 'start postgres'

- task: Maven@3
displayName: 'Maven Build'
inputs:
goals: 'install'
options: '-B --settings azure-mvn-settings.xml -Dnative-image.docker-build -Dtest-postgresql -Dtest-elasticsearch -Dnative-image.xmx=6g -Dnative -Dno-format'

- job: Windows_Build
timeoutInMinutes: 60
pool:
vmImage: 'vs2017-win2016'

variables:
imageName: 'quarkus-windows:$(build.buildId)'

steps:

- task: Maven@3
displayName: 'Maven Build'
inputs:
goals: 'install'
options: '-B --settings azure-mvn-settings.xml -Dno-native -Dno-format'

- job: Build_JDK11_Linux
timeoutInMinutes: 60
pool:
vmImage: 'Ubuntu 16.04'

variables:
imageName: 'quarkus-jdk11:$(build.buildId)'

steps:
- task: Maven@3
displayName: 'Maven Build'
inputs:
jdkVersionOption: '1.11'
goals: 'install'
options: '-B --settings azure-mvn-settings.xml -Dno-native -Dno-format'
- bash: 'settings=$(pwd)/azure-mvn-settings.xml; mvn clean install -DskipTests -Dinvoker.skip=true -B --settings ${settings} -Dno-format && cd integration-tests/camel-core && mvn clean verify -Dnative -Dnative-image.docker-build -B --settings ${settings} -Dnative-image.xmx=6g -Dno-format; ls -l target/reports'
displayName: 'bash'
4 changes: 2 additions & 2 deletions devtools/maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
</executions>
</plugin>

<plugin>
<!-- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-invoker-plugin</artifactId>
<version>3.1.0</version>
Expand All @@ -238,7 +238,7 @@
</goals>
</execution>
</executions>
</plugin>
</plugin> -->

<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down

0 comments on commit 149617b

Please sign in to comment.