Merge branch '2.2.x' into 2.3.x
commit
f625d8e701
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright 2020 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* https://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package io.spring.concourse.releasescripts.command;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.boot.context.properties.ConfigurationProperties;
|
||||
|
||||
/**
|
||||
* Distribution properties.
|
||||
*
|
||||
* @author Phillip Webb
|
||||
*/
|
||||
@ConfigurationProperties(prefix = "distribute")
|
||||
public class DistributeProperties {
|
||||
|
||||
private List<String> optionalDeployments = new ArrayList<>();
|
||||
|
||||
public List<String> getOptionalDeployments() {
|
||||
return this.optionalDeployments;
|
||||
}
|
||||
|
||||
public void setOptionalDeployments(List<String> optionalDeployments) {
|
||||
this.optionalDeployments = optionalDeployments;
|
||||
}
|
||||
|
||||
}
|
@ -1,2 +1,4 @@
|
||||
spring.main.banner-mode=off
|
||||
# logging.level.io.spring.concourse=DEBUG
|
||||
distribute.optional-deployments[0]=.*\\.zip
|
||||
distribute.optional-deployments[1]=spring-boot-project-\\d+\\.\\d+\\.\\d+(?:\\.RELEASE)?\\.pom
|
||||
logging.level.io.spring.concourse=DEBUG
|
@ -0,0 +1,59 @@
|
||||
{
|
||||
"buildInfo": {
|
||||
"version": "1.0.1",
|
||||
"name": "example",
|
||||
"number": "example-build-1",
|
||||
"started": "2019-09-10T12:18:05.430+0000",
|
||||
"durationMillis": 0,
|
||||
"artifactoryPrincipal": "user",
|
||||
"url": "https://my-ci.com",
|
||||
"modules": [
|
||||
{
|
||||
"id": "org.example.demo:demo:2.2.0",
|
||||
"artifacts": [
|
||||
{
|
||||
"type": "jar",
|
||||
"sha1": "ayyyya9151a22cb3145538e523dbbaaaaaaaa",
|
||||
"sha256": "aaaaaaaaa85f5c5093721f3ed0edda8ff8290yyyyyyyyyy",
|
||||
"md5": "aaaaaacddea1724b0b69d8yyyyyyy",
|
||||
"name": "demo-2.2.0.jar"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "org.example.demo:demo:2.2.0:zip",
|
||||
"artifacts": [
|
||||
{
|
||||
"type": "zip",
|
||||
"sha1": "ayyyya9151a22cb3145538e523dbbaaaaaaab",
|
||||
"sha256": "aaaaaaaaa85f5c5093721f3ed0edda8ff8290yyyyyyyyyz",
|
||||
"md5": "aaaaaacddea1724b0b69d8yyyyyyz",
|
||||
"name": "demo-2.2.0.zip"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"id": "org.example.demo:demo:2.2.0:doc",
|
||||
"artifacts": [
|
||||
{
|
||||
"type": "jar",
|
||||
"sha1": "ayyyya9151a22cb3145538e523dbbaaaaaaba",
|
||||
"sha256": "aaaaaaaaa85f5c5093721f3ed0edda8ff8290yyyyyyyyzy",
|
||||
"md5": "aaaaaacddea1724b0b69d8yyyyyzy",
|
||||
"name": "demo-2.2.0.doc"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"statuses": [
|
||||
{
|
||||
"status": "staged",
|
||||
"repository": "libs-release-local",
|
||||
"timestamp": "2019-09-10T12:42:24.716+0000",
|
||||
"user": "user",
|
||||
"timestampDate": 1568119344716
|
||||
}
|
||||
]
|
||||
},
|
||||
"uri": "https://my-artifactory-repo.com/api/build/example/example-build-1"
|
||||
}
|
Loading…
Reference in New Issue