Building Podam on CircleCI

It seems Podam is a popular project to build here :smile:

Here’s how to build it on CircleCi:

machine:
  ruby:
    version: rbx-2.2.6

general:
   artifacts:
     - $CIRCLE_TEST_REPORTS
     - target
     
test:
  override:
    - mvn clean install
  post:
    - mkdir -p $CIRCLE_TEST_REPORTS/junit/
    - find . -type f -regex ".*/target/failsafe-reports/.*xml" -exec cp {} $CIRCLE_TEST_REPORTS/junit/ \;

I’ve also submitted a PR.

2 Likes

This is perfect, thanks so much!

1 Like

I wonder why the Test Tab isn’t showing up in my environment

Making this change only ids not sufficient.We need to include egit libraries in the pom.xml file as follows:-

ossrh https://oss.sonatype.org/content/repositories/snapshots github-project-site gitsite:git@github.com/devopsfolks/podam.git ossrh https://oss.sonatype.org/service/local/staging/deploy/maven2/ egit https://repo.eclipse.org/content/repositories/egit-releases/