Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for onPublish (0.28 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/AbstractModule.groovy

            if (hashAfter == hashBefore) {
                // Already published
                return
            }
    
            assert !file.exists() || file.delete()
            assert tmpFile.renameTo(file)
            onPublish(file)
        }
    
        private void writeContents(output, Closure cl) {
            output.withWriter("utf-8", cl)
        }
    
        private void writeZipped(TestFile testFile, Closure cl) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenLocalModule.groovy

        <snapshot>
          <localCopy>true</localCopy>
        </snapshot>
        <lastUpdated>${updateFormat.format(publishTimestamp)}</lastUpdated>
      </versioning>
    </metadata>
    """
        }
    
        @Override
        protected onPublish(TestFile file) {
        }
    
        @Override
        protected boolean publishesMetaDataFile() {
            version.endsWith("-SNAPSHOT")
        }
    
        /* No checksums published for local modules */
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/maven/MavenFileModule.groovy

          <buildNumber>$publishCount</buildNumber>
        </snapshot>
        <lastUpdated>${updateFormat.format(publishTimestamp)}</lastUpdated>
      </versioning>
    </metadata>
    """
        }
    
        @Override
        protected onPublish(TestFile file) {
            sha1File(file)
            md5File(file)
            postPublish(file)
        }
    
        @Override
        protected boolean publishesMetaDataFile() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenLocalModuleTest.groovy

        }
    
        def "On publishing SHA1 and MD5 files are not created"() {
            given:
            def pomTestFile = tmpDir.createFile("build/test/pom.xml")
    
            when:
            mavenLocalModule.onPublish(pomTestFile)
            def testFiles = Arrays.asList(pomTestFile.parentFile.listFiles())
    
            then:
            !testFiles*.name.containsAll('pom.xml.md5', 'pom.xml.sha1')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/maven/MavenFileModuleTest.groovy

        }
    
        def "On publishing SHA1 and MD5 files are created"() {
            given:
            TestFile pomTestFile = tmpDir.createFile("build/test/pom.xml")
    
            when:
            mavenFileModule.onPublish(pomTestFile)
            def testFiles = Arrays.asList(pomTestFile.parentFile.listFiles())
    
            then:
            testFiles*.name.containsAll('pom.xml.md5', 'pom.xml.sha1')
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  6. testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/ivy/IvyFileModule.groovy

                    depArtifactAttrs.'m:classifier' = classifier
                    builder.artifact(depArtifactAttrs)
                }
            }
        }
    
        @Override
        protected onPublish(TestFile file) {
            sha1File(file)
            postPublish(file)
        }
    
        private String getArtifactContent() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  7. pkg/volume/csi/csi_block.go

     - SetUpDevice calls CSI's NodeStageVolume and stage a volume to its staging path,
     - MapPodDevice calls CSI's NodePublishVolume and publish a volume to its publish path,
     - UnmapPodDevice calls CSI's NodeUnpublishVolume and unpublish a volume from its publish path,
     - TearDownDevice calls CSI's NodeUnstageVolume and unstage a volume from its staging path.
    
    These methods are called by below sequences:
     - operation_executor.MountVolume
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top