Uploaded image for project: 'Apache Cassandra'
  1. Apache Cassandra
  2. CASSANDRA-15496

Declarative Jenkins pipeline builds (and removing `ant test-all`)

    XMLWordPrintableJSON

Details

    Description

      Declarative Jenkins pipeline
      Currently all the jenkins build jobs are generated by the DSL job from the cassandra-builds repository.
      For a given branch, there are numerous builds: artifacts, unit tests, and dtests.
      Using a (declarative) Jenkinsfile in-tree these builds can be put together into per-branch pipelines.

      Per-branch pipelines will give a nicer UI (via blue ocean) and one place to look at test results for any branch and commit. From there we can post one complete test summary on commits back to the related jira ticket.

      ref: https://lists.apache.org/thread.html/rc8d5a55142ea3bfb742e3347b8ea924946796bad03a1e089c8fb9ee7%40%3Cdev.cassandra.apache.org%3E

      Removing `ant test-all`
      Currently the test-all target does nothing but execute the test target.
      This is because the test targets finishes with unit test failures.

      As these jenkins jobs are automated here: https://github.com/apache/cassandra-builds/blob/master/jenkins-dsl/cassandra_job_dsl_seed.groovy#L44 ; it is easy enough to remove the "test-all" target, replacing it with separate jobs for 'stress-test', 'fqltool-test', and 'long-test'.

      Attachments

        1. Screenshot 2020-01-17 at 21.14.52.png
          81 kB
          Michael Semb Wever
        2. Screenshot 2020-01-17 at 21.16.05.png
          85 kB
          Michael Semb Wever
        3. Screenshot 2020-01-17 at 21.16.47.png
          104 kB
          Michael Semb Wever
        4. Screenshot 2020-01-17 at 21.18.49.png
          112 kB
          Michael Semb Wever

        Issue Links

          Activity

            People

              mck Michael Semb Wever
              mck Michael Semb Wever
              Michael Semb Wever
              David Capwell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: