ArtifactStore dockerhubStore = config.getArtifactStores().first(); assertConfigProperty(ancestorPublishArtifactConfig, "Image", "SECRET", true); assertConfigProperty(ancestorPublishArtifactConfig, "Tag", "ancestor_tag_${GO_PIPELINE_COUNTER}", false); assertConfigProperty(parentPublishArtifactConfig, "Image", "SECRET", true); assertConfigProperty(parentPublishArtifactConfig, "Tag", "parent_tag_${GO_PIPELINE_COUNTER}", false); assertConfigProperty(childFetchArtifactFromAncestorConfig, "FetchProperty", "SECRET", true); assertConfigProperty(childFetchArtifactFromAncestorConfig, "Tag", "ancestor_tag", false); assertConfigProperty(childFetchArtifactFromParentConfig, "FetchProperty", "SECRET", true); assertConfigProperty(childFetchArtifactFromParentConfig, "Tag", "parent_tag", false); assertConfigProperty(dockerhubStore, "RegistryURL", "https://index.docker.io/v1/", false); assertConfigProperty(dockerhubStore, "Username", "docker-user", false); assertConfigProperty(dockerhubStore, "Password", "SECRET", true);