Skip to content

The publish task Publish_GitHub_Wiki_Content failes due to missing wiki page #28

@raandree

Description

@raandree

Problem description

The publish task Publish_GitHub_Wiki_Content failes due to missing wiki page.

@gaelcolas, can you create just a dummy first wiki page to create the wiki repository?

Verbose logs

Set GitHubConfigUserName to dscbot
Set GitHubConfigUserEmail to [email protected]
	Wiki Output Path              = /home/vsts/work/1/s/output/WikiContent
Publishing Wiki content.
ERROR: Command: git commit --message "Updating Wiki with the content for module version '0.2.0-preview0013'."
git exit code: '1'
git standard output: 'On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
'
git standard error: ''

At /home/vsts/work/1/s/output/RequiredModules/DscResource.DocGenerator/0.11.2/DscResource.DocGenerator.psm1:2813 char:13
+             throw $throwMessage
+             ~~~~~~~~~~~~~~~~~~~
At /home/vsts/work/1/s/output/RequiredModules/DscResource.DocGenerator/0.11.2/tasks/Publish_GitHub_Wiki_Content.build.ps1:99 char:1
+ task Publish_GitHub_Wiki_Content {
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Build FAILED. 4 tasks, 1 errors, 0 warnings 00:00:32.1189114
Exception: Command: git commit --message "Updating Wiki with the content for module
version '0.2.0-preview0013'." git exit code: '1' git standard output: 'On
branch master Your branch is up to date with 'origin/master'.  nothing to
commit, working tree clean ' git standard error: ''

##[error]PowerShell exited with code '1'.
Finishing: Publish Release


### DSC configuration

```powershell
NA

Suggested solution

Creating a dummy first wiki page solves the issue.

Operating system the target node is running

NA

PowerShell version and build the target node is running

NA

Sampler.DscPipeline version

NA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions