forked from tusharm/go-artifactory-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gocd.yaml
30 lines (30 loc) · 1.07 KB
/
build.gocd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
pipelines:
ArtifactoryPlugin-BuildAndPublish:
group: GoCD-Plugins
materials:
git-repo:
git: [email protected]:stone-payments/go-artifactory-plugin.git
branch: master
environment_variables:
ARTIFACTORY_URL: https://artifacts-vip.stone.com.br:443/artifactory/
stages:
- BuildAndPublish:
clean_workspace: true
jobs:
BuildAndPublish:
elastic_profile_id: docker.java7-maven
tasks:
- exec:
command: mvn
arguments:
- package
- plugin:
options:
URI: generic-prod/go-cd-plugins/publish-to-artifactory
uriIsFolder: true
Path: target/dist/*.jar
Properties: buildtool=gocd
configuration:
id: com.tw.go.plugins.go-artifactory-plugin
version: 1.0.0
run_if: passed