Skip to content

Commit

Permalink
Fix #1521: use a test build manifest. (#1571)
Browse files Browse the repository at this point in the history
Signed-off-by: dblock <dblock@dblock.org>
  • Loading branch information
dblock authored Jan 31, 2022
1 parent 01ce6e9 commit 2396ec4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/jenkins/TestBuildAssembleUpload.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,16 @@ class TestBuildAssembleUpload extends BuildPipelineTest {
}

@Test
@Ignore("https://github.com/opensearch-project/opensearch-build/issues/1521")
public void testJenkinsfile() {
helper.registerAllowedMethod("s3DoesObjectExist", [Map], { args ->
return true
})

Path sourceBuildManifest = Path.of("tests/data/opensearch-build-1.1.0.yml")
Path targetBuildManifest = Path.of("builds/opensearch/manifest.yml")
Files.createDirectories(targetBuildManifest.getParent())
Files.copy(sourceBuildManifest, targetBuildManifest, StandardCopyOption.REPLACE_EXISTING)

super.testPipeline("tests/jenkins/jobs/BuildAssembleUpload_Jenkinsfile")
}
}

0 comments on commit 2396ec4

Please sign in to comment.