From ac2b8d61dcd9350c9e5e1d6cd7867ae76f733c54 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 10 Jun 2020 10:29:57 +0200 Subject: [PATCH 1/3] Add Wiki generation --- azure-pipelines.yml | 12 ++++++------ build.yaml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 55ee88269..5add698a9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,12 +42,12 @@ stages: ArtifactName: 'output' publishLocation: 'Container' - # - task: PublishBuildArtifacts@1 - # displayName: 'Publish Wiki Content Artifact' - # inputs: - # pathToPublish: 'output/WikiContent/' - # artifactName: 'WikiContent' - # publishLocation: 'Container' + - task: PublishBuildArtifacts@1 + displayName: 'Publish Wiki Content Artifact' + inputs: + pathToPublish: 'output/WikiContent/' + artifactName: 'WikiContent' + publishLocation: 'Container' - stage: Test dependsOn: Build diff --git a/build.yaml b/build.yaml index 54f4fa387..82a6355e6 100644 --- a/build.yaml +++ b/build.yaml @@ -46,7 +46,7 @@ BuildWorkflow: - Build_NestedModules_ModuleBuilder - Create_changelog_release_output #- Generate_Conceptual_Help - # - Generate_Wiki_Content + - Generate_Wiki_Content pack: - build @@ -113,8 +113,8 @@ ModuleBuildTasks: # - ModuleName: 'alias to search' Sampler: - '*.build.Sampler.ib.tasks' # this means: import (dot source) all aliases ending with .ib.tasks exported by sampler module - # DscResource.DocGenerator: - # - 'Task.*' + DscResource.DocGenerator: + - 'Task.*' # Invoke-Build Header to be used to 'decorate' the terminal output of the tasks. TaskHeader: | From 8c1c3926c07073467248da912e48b0115f19a9e9 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Wed, 10 Jun 2020 10:29:57 +0200 Subject: [PATCH 2/3] Add Wiki generation --- azure-pipelines.yml | 12 ++++++------ build.yaml | 6 +++--- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 55ee88269..5add698a9 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -42,12 +42,12 @@ stages: ArtifactName: 'output' publishLocation: 'Container' - # - task: PublishBuildArtifacts@1 - # displayName: 'Publish Wiki Content Artifact' - # inputs: - # pathToPublish: 'output/WikiContent/' - # artifactName: 'WikiContent' - # publishLocation: 'Container' + - task: PublishBuildArtifacts@1 + displayName: 'Publish Wiki Content Artifact' + inputs: + pathToPublish: 'output/WikiContent/' + artifactName: 'WikiContent' + publishLocation: 'Container' - stage: Test dependsOn: Build diff --git a/build.yaml b/build.yaml index 54f4fa387..82a6355e6 100644 --- a/build.yaml +++ b/build.yaml @@ -46,7 +46,7 @@ BuildWorkflow: - Build_NestedModules_ModuleBuilder - Create_changelog_release_output #- Generate_Conceptual_Help - # - Generate_Wiki_Content + - Generate_Wiki_Content pack: - build @@ -113,8 +113,8 @@ ModuleBuildTasks: # - ModuleName: 'alias to search' Sampler: - '*.build.Sampler.ib.tasks' # this means: import (dot source) all aliases ending with .ib.tasks exported by sampler module - # DscResource.DocGenerator: - # - 'Task.*' + DscResource.DocGenerator: + - 'Task.*' # Invoke-Build Header to be used to 'decorate' the terminal output of the tasks. TaskHeader: | From f48a2f640846372305e71ea162c0536ba80e1de7 Mon Sep 17 00:00:00 2001 From: Yorick Kuijs Date: Fri, 12 Jun 2020 16:51:03 +0200 Subject: [PATCH 3/3] Fixed Event Log naming issue --- CHANGELOG.md | 5 +++++ .../Modules/SharePointDsc.Util/SharePointDsc.Util.psm1 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b4dfc93ab..065878a6a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +### Fixed + +- SharePointDsc + - Renamed custom event log to SPDsc to prevent event log naming issue. + ## [4.1.0] - 2020-06-10 ### Added diff --git a/SharePointDsc/Modules/SharePointDsc.Util/SharePointDsc.Util.psm1 b/SharePointDsc/Modules/SharePointDsc.Util/SharePointDsc.Util.psm1 index d008b6fa2..7dd83bece 100644 --- a/SharePointDsc/Modules/SharePointDsc.Util/SharePointDsc.Util.psm1 +++ b/SharePointDsc/Modules/SharePointDsc.Util/SharePointDsc.Util.psm1 @@ -21,7 +21,7 @@ function Add-SPDscEvent $EventID = 1 ) - $LogName = 'SharePointDsc' + $LogName = 'SPDsc' if ([System.Diagnostics.EventLog]::SourceExists($Source)) {