Bitbucket Pipeline: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<source lang="yaml">
<source lang="yaml">
image: 3.3.9-jdk-7
image: maven:3.3.9-jdk-7
pipelines:
pipelines:
   branches:
   branches:
     master:
     master:
       - step:
       - step:
           name: Build and Deploy Releases Artifact
           name: Deploy Releases Artifact
           caches:
           caches:
             - maven
             - maven
           script:
           script:
             - bash <(curl -s 'http://cdn.chorke.org/repo/mvn/settings.sh.txt')
             - bash <(curl -s 'http://cdn.chorke.org/repo/mvn/settings.sh.txt')
             - mvn -B verify
             - mvn -V -B -N -s settings.xml verify
             - mvn -B -s settings.xml deploy
             - mvn -V -B -N -s settings.xml deploy -Djava.net.preferIPv4Stack=true
</source>
</source>



Revision as of 08:02, 3 June 2019

image: maven:3.3.9-jdk-7
pipelines:
  branches:
    master:
      - step:
          name: Deploy Releases Artifact
          caches:
            - maven
          script:
            - bash <(curl -s 'http://cdn.chorke.org/repo/mvn/settings.sh.txt')
            - mvn -V -B -N -s settings.xml verify
            - mvn -V -B -N -s settings.xml deploy -Djava.net.preferIPv4Stack=true

Docker Images

https://hub.docker.com/_/maven
3.3.3-jdk-7, 3.3.3-jdk-8, 3.3.3-jdk-9
3.3.9-jdk-7, 3.3.9-jdk-7-alpine
3.3.9-jdk-8, 3.3.9-jdk-8-alpine

References