SEARCH-663 (Reduce the number of build plans on Bamboo)

This commit is contained in:
Tuna Aksoy
2018-01-23 23:17:39 +00:00
parent a11caf1c60
commit fdf709b8ed
2 changed files with 11 additions and 5 deletions
+8 -2
View File
@@ -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
+3 -3
View File
@@ -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>