Skip to content

Setup Azure CI server for Quartz project #293

Closed

Description

@zemian

There are two issues with CI

  1. I upgraded the maven wrapper (mvnw) to maven 3.6.0 now, but CI still uses maven 3.5.4. Is this means CI is not using the ./mvnw for build? Need to setup properly.

  2. The last PR build gave errors, but I can't see the root cause. The build failed with following:

2018-12-20T20:53:12.4229428Z Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.032 sec
2018-12-20T20:53:12.4310659Z 
2018-12-20T20:53:12.4310995Z Results :
2018-12-20T20:53:12.4360026Z 
2018-12-20T20:53:12.4360434Z Tests run: 303, Failures: 0, Errors: 0, Skipped: 0
2018-12-20T20:53:12.4360821Z 
2018-12-20T20:53:12.4360973Z [INFO] 
2018-12-20T20:53:12.4361664Z [INFO] --- maven-jar-plugin:3.1.1:jar (default-jar) @ quartz-core ---
2018-12-20T20:53:12.5182434Z [INFO] Building jar: /home/vsts/work/1/s/quartz-core/target/quartz-core-2.3.1-SNAPSHOT.jar
2018-12-20T20:53:12.6132876Z [INFO] 
2018-12-20T20:53:12.6174593Z [INFO] >>> maven-source-plugin:2.1.2:jar (sources-jar) > generate-sources @ quartz-core >>>
2018-12-20T20:53:12.6181271Z [INFO] 
2018-12-20T20:53:12.6218277Z [INFO] <<< maven-source-plugin:2.1.2:jar (sources-jar) < generate-sources @ quartz-core <<<
2018-12-20T20:53:12.6221765Z [INFO] 
2018-12-20T20:53:13.4812299Z /usr/share/apache-maven-3.5.4/bin/mvn failed with return code: 1
2018-12-20T20:53:13.4812413Z [INFO] 
2018-12-20T20:53:13.4812935Z Could not retrieve code analysis results - Maven run failed.

See https://dev.azure.com/TerracottaCI/quartz/_build/results?buildId=674 for details

Activity

  1. jarlah commented on Dec 28, 2018

    @jarlah

    simple, we can make a build fork on gitlab like I have did right here https://gitlab.com/quartz-scheduler/quartz now .. its a fork that is only used for building the project with either gitlab ci or travis. It will automatically pull changes regularly. the only change we do in this fork is either modifying the travis ci file or adding a gitlab ci file.

  2. jarlah commented on Dec 28, 2018

    @jarlah

    By doing this we can have full control of how its built, with what maven version and what artefacts it produces and where it publishes them, if at all. We could combine this with JitPack for example. Then we will never actually touch the main repo on GitHub.

  3. jarlah commented on Dec 28, 2018

    @jarlah

    Will of course touch it by merging pull requests etc. And working with issues and in general let it still be the front repo

  4. zemian commented on Dec 28, 2018

    @zemian
    ContributorAuthor

    Hi @jarlah thanks for the feedback on this. I need to investigate this little further and try to come up with better planning. I have contacted the repo owner @jhouserizer and he said he might have little time to help out with the build as well. I hope we can make the build smoother soon.

  5. zemian commented on Feb 8, 2019

    @zemian
    ContributorAuthor

    We will like to try setup Azure CI and remove Travis for all PR checks.

  6. changed the title [-]CI server is not building properly[/-] [+]Setup Azure CI server for Quartz project[/+] on Feb 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions