You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Konrad Windszus (Jira)" <ji...@apache.org> on 2022/06/21 07:06:00 UTC

[jira] [Created] (SLING-11401) Jenkins: Properly isolate workspace directories for parallel stages

Konrad Windszus created SLING-11401:
---------------------------------------

             Summary: Jenkins: Properly isolate workspace directories for parallel stages
                 Key: SLING-11401
                 URL: https://issues.apache.org/jira/browse/SLING-11401
             Project: Sling
          Issue Type: Bug
          Components: Build and Source Control
            Reporter: Konrad Windszus
            Assignee: Konrad Windszus


The default workspace name is not unique for parallel stages which run incidentally on the same node. That could lead to issues like race-conditions between clean and install.

An example can be found here (https://ci-builds.apache.org/job/Sling/job/modules/job/sling-maven-enforcer-rules/job/master/19/console) where the rat-check was executed on a workspace which was populated by another job.

{code}
[WARNING] Files with unapproved licenses:
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/maven-metadata.xml.sha1
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-metadata.xml.sha1
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-metadata.xml.md5
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-enforcer-rules-1.0.1-20220618.114744-1-sources.jar.sha1
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-enforcer-rules-1.0.1-20220618.114744-1.jar.md5
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-enforcer-rules-1.0.1-20220618.114744-1.pom.sha1
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-enforcer-rules-1.0.1-20220618.114744-1.jar.sha1
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-metadata.xml
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-enforcer-rules-1.0.1-20220618.114744-1.pom.md5
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/1.0.1-SNAPSHOT/maven-enforcer-rules-1.0.1-20220618.114744-1-sources.jar.md5
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/maven-metadata.xml.md5
  local-snapshots-dir/org/apache/sling/maven-enforcer-rules/maven-metadata.xml
{code}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)