mirror of
https://github.com/Alfresco/SearchServices.git
synced 2026-09-16 18:12:56 +00:00
SEARCH-663 (Reduce the number of build plans on Bamboo)
This commit is contained in:
@@ -10,8 +10,14 @@ then
|
||||
# set current working directory to the directory of the script
|
||||
cd "$bamboo_working_directory"
|
||||
|
||||
dockerImage="quay.io/alfresco/search-services:$bamboo_maven_version"
|
||||
echo "Building $dockerImage from $nicebranch using version $bamboo_maven_version"
|
||||
tag_version=`echo "$bamboo_maven_version"`
|
||||
if [ "${bamboo_shortJobName}" = "Release" ]
|
||||
then
|
||||
tag_version=`echo "$bamboo_release_version"`
|
||||
fi
|
||||
|
||||
dockerImage="quay.io/alfresco/search-services:$tag_version"
|
||||
echo "Building $dockerImage from $nicebranch using version $tag_version"
|
||||
|
||||
docker build -t $dockerImage packaging/target/docker-resources
|
||||
|
||||
|
||||
@@ -25,9 +25,9 @@
|
||||
</snapshotRepository>
|
||||
</distributionManagement>
|
||||
<scm>
|
||||
<connection>scm:git:https://git.alfresco.com/search_discovery/searchservices.git</connection>
|
||||
<developerConnection>scm:git:https://git.alfresco.com/search_discovery/searchservices.git</developerConnection>
|
||||
<url>https://git.alfresco.com/search_discovery/searchservices.git</url>
|
||||
<connection>scm:git:git@github.com:Alfresco/SearchServices.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:Alfresco/SearchServices.git</developerConnection>
|
||||
<url>https://github.com/Alfresco/SearchServices.git</url>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
<modules>
|
||||
|
||||
Reference in New Issue
Block a user