Compare commits

...

6 Commits

Author SHA1 Message Date
Travis CI User
ff9e8c6350 [maven-release-plugin][skip ci] prepare release repo-5439-M3c1 2021-02-14 16:41:58 +00:00
cturlica
05be773f47 [release][skip tests] repo-5439-M3 2021-02-14 18:31:34 +02:00
cturlica
6504e9e74b [release][skip tests] repo-5439-M3c1 2021-02-14 18:25:16 +02:00
cturlica
f2c8878581 repo-5439-M3 2021-02-14 16:57:18 +02:00
cturlica
85e226c682 repo-5439-M3
- release prep
2021-02-14 16:48:22 +02:00
cturlica
0e8b5407fc repo-5439-M3 2021-02-14 16:38:11 +02:00
18 changed files with 30 additions and 17 deletions

View File

@@ -33,7 +33,7 @@ stages:
- name: test - name: test
if: commit_message !~ /\[skip tests\]/ if: commit_message !~ /\[skip tests\]/
- name: release - name: release
if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND commit_message !~ /\[no release\]/ if: fork = false AND (branch = master OR branch =~ /release\/.*/ OR branch =~ /fix\/.*/) AND type != pull_request AND commit_message !~ /\[no release\]/
- name: update_downstream - name: update_downstream
if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND commit_message !~ /\[no downstream\]/ if: fork = false AND (branch = master OR branch =~ /release\/.*/) AND type != pull_request AND commit_message !~ /\[no downstream\]/
- name: trigger_downstream - name: trigger_downstream

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId> <artifactId>alfresco-community-repo</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<dependencies> <dependencies>

View File

@@ -424,6 +424,12 @@ public abstract class AbstractAsynchronouslyRefreshedCache<T>
@Override @Override
public Void call() public Void call()
{ {
long threadId = Thread.currentThread().getId();
logger.debug("Thread # " + threadId + "-> call()");
logger.debug("Thread # " + threadId + "call()->liveLock.writeLock().lock()");
liveLock.writeLock().lock();
logger.debug("Thread # " + threadId + "call()->liveLock.writeLock().locked [");
try try
{ {
doCall(); doCall();
@@ -444,6 +450,12 @@ public abstract class AbstractAsynchronouslyRefreshedCache<T>
} }
return null; return null;
} }
finally
{
logger.debug("Thread # " + threadId + "call()->liveLock.writeLock().unlock()");
liveLock.writeLock().unlock();
logger.debug("Thread # " + threadId + "call()->liveLock.writeLock().unlocked]");
}
} }
private void doCall() throws Exception private void doCall() throws Exception

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId> <artifactId>alfresco-community-repo</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<properties> <properties>

View File

@@ -9,6 +9,6 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId> <artifactId>alfresco-community-repo-packaging</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
</project> </project>

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId> <artifactId>alfresco-community-repo-packaging</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<properties> <properties>

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId> <artifactId>alfresco-community-repo</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<profiles> <profiles>

View File

@@ -6,7 +6,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId> <artifactId>alfresco-community-repo-packaging</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<modules> <modules>

View File

@@ -9,7 +9,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId> <artifactId>alfresco-community-repo-tests</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<developers> <developers>

View File

@@ -9,7 +9,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId> <artifactId>alfresco-community-repo-tests</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<developers> <developers>

View File

@@ -9,7 +9,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId> <artifactId>alfresco-community-repo-tests</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<developers> <developers>

View File

@@ -9,7 +9,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId> <artifactId>alfresco-community-repo-tests</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<developers> <developers>

View File

@@ -9,7 +9,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-tests</artifactId> <artifactId>alfresco-community-repo-tests</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<developers> <developers>

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo-packaging</artifactId> <artifactId>alfresco-community-repo-packaging</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<properties> <properties>

View File

@@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>alfresco-community-repo</artifactId> <artifactId>alfresco-community-repo</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
<packaging>pom</packaging> <packaging>pom</packaging>
<name>Alfresco Community Repo Parent</name> <name>Alfresco Community Repo Parent</name>
@@ -112,7 +112,7 @@
<connection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</connection> <connection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</connection>
<developerConnection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</developerConnection> <developerConnection>scm:git:https://github.com/Alfresco/alfresco-community-repo.git</developerConnection>
<url>https://github.com/Alfresco/alfresco-community-repo</url> <url>https://github.com/Alfresco/alfresco-community-repo</url>
<tag>8.346</tag> <tag>repo-5439-M3c1</tag>
</scm> </scm>
<distributionManagement> <distributionManagement>

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId> <artifactId>alfresco-community-repo</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<dependencies> <dependencies>

View File

@@ -7,7 +7,7 @@
<parent> <parent>
<groupId>org.alfresco</groupId> <groupId>org.alfresco</groupId>
<artifactId>alfresco-community-repo</artifactId> <artifactId>alfresco-community-repo</artifactId>
<version>8.346</version> <version>repo-5439-M3c1</version>
</parent> </parent>
<dependencies> <dependencies>

View File

@@ -14,6 +14,7 @@ git config user.email "${GIT_EMAIL}"
mvn -B \ mvn -B \
-PfullBuild,all-tas-tests \ -PfullBuild,all-tas-tests \
"-Darguments=-PfullBuild,all-tas-tests -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \ "-Darguments=-PfullBuild,all-tas-tests -DskipTests -Dbuild-number=${TRAVIS_BUILD_NUMBER}" \
-DreleaseVersion=repo-5439-M3c1 -DdevelopmentVersion=8.346-M3-SNAPSHOT \
release:clean release:prepare release:perform \ release:clean release:prepare release:perform \
-DscmCommentPrefix="[maven-release-plugin][skip ci] " \ -DscmCommentPrefix="[maven-release-plugin][skip ci] " \
-Dusername="${GIT_USERNAME}" \ -Dusername="${GIT_USERNAME}" \