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">
# @web      http://chorke.org
# @vendor    Chorke, Inc.
# @version  0.0.00
# @since    0.0.00
image: maven:3.3.9-jdk-7
image: maven:3.3.9-jdk-7
pipelines:
pipelines:
Line 5: Line 9:
     master:
     master:
       - step:
       - step:
           name: Deploy Releases Artifact
           name: Deploy Releases Base 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 -V -B -N -s settings.xml verify
             - cat $HOME/.m2/settings.xml
             - mvn -V -B -N -s settings.xml deploy -Djava.net.preferIPv4Stack=true
            - cat /usr/share/maven/conf/settings.xml
             - mvn clean deploy -N -Djava.net.preferIPv4Stack=true
</source>
</source>



Revision as of 11:20, 4 June 2019

# @web       http://chorke.org
# @vendor    Chorke, Inc.
# @version   0.0.00
# @since     0.0.00
image: maven:3.3.9-jdk-7
pipelines:
  branches:
    master:
      - step:
          name: Deploy Releases Base Artifact
          caches:
            - maven
          script:
            - bash <(curl -s 'http://cdn.chorke.org/repo/mvn/settings.sh.txt')
            - cat $HOME/.m2/settings.xml
            - cat /usr/share/maven/conf/settings.xml
            - mvn clean deploy -N -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