Replies: 2 comments
-
Looks like the issue is you are passing in your release notes as a file, but the WIKI updater task is expecting it to be a string, so using the value of I think you need to just make sure the WIKI updater's
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks! That solved the problem |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi There,
I'm using the cross-platform extension and pairing it with Wiki File updater. I'm running this in Azure Pipeline. I'm not quite sure what this error means. Appreciate your help. Thanks!
2021-05-17T18:10:53.9965569Z ##[section]Starting: Git based WIKI File Updater
2021-05-17T18:10:54.0127314Z ==============================================================================
2021-05-17T18:10:54.0127654Z Task : Git based WIKI Single File Updater from Black Marble
2021-05-17T18:10:54.0127984Z Description : A tools to update or create a file in a WIKI based in a Git repo
2021-05-17T18:10:54.0128221Z Version : 1.26.2
2021-05-17T18:10:54.0128404Z Author : Richard Fennell
2021-05-17T18:10:54.0128737Z Help : Version: 1.26.2. More Information
2021-05-17T18:10:54.0129114Z ==============================================================================
2021-05-17T18:10:54.8002265Z Variable: Repo [https://@dev.azure.com///_git/.wiki]
2021-05-17T18:10:54.8002787Z Variable: Filename [ReleaseNotes.md]
2021-05-17T18:10:54.8003180Z Variable: Contents [undefined]
2021-05-17T18:10:54.8003592Z Variable: Commit Message [Commit Release Notes]
2021-05-17T18:10:54.8004059Z Variable: Git Username [Jake]
2021-05-17T18:10:54.8004447Z Variable: Git Email [jake@.com]
2021-05-17T18:10:54.8004822Z Variable: Use Agent Token [true]
2021-05-17T18:10:54.8005185Z Variable: Replace File [true]
2021-05-17T18:10:54.8005562Z Variable: Append to File [true]
2021-05-17T18:10:54.8005923Z Variable: Username [undefined]
2021-05-17T18:10:54.8006322Z Variable: Password []
2021-05-17T18:10:54.8006696Z Variable: LocalPath [D:\a\r1\a\repo]
2021-05-17T18:10:54.8007088Z Variable: Data Is File [false]
2021-05-17T18:10:54.8007452Z Variable: SourceFile [undefined]
2021-05-17T18:10:54.8007806Z Variable: Tag Repo [false]
2021-05-17T18:10:54.8008168Z Variable: Tag [undefined]
2021-05-17T18:10:54.8008520Z Variable: Branch [undefined]
2021-05-17T18:10:54.8008903Z Variable: InjectExtraHeader [false]
2021-05-17T18:10:54.8009257Z Variable: Retries [5]
2021-05-17T18:10:54.8009620Z Variable: trimLeadingSpecialChar [false]
2021-05-17T18:10:54.8010018Z Variable: fixLineFeeds [true]
2021-05-17T18:10:54.8010372Z Variable: fixSpaces [false]
2021-05-17T18:10:54.8010745Z Variable: insertLinefeed [false]
2021-05-17T18:10:54.8011113Z Variable: updateOrderFile [false]
2021-05-17T18:10:54.8011494Z Variable: prependEntryToOrderFile [false]
2021-05-17T18:10:54.8011926Z Using OAUTH Agent Token, overriding username and password
2021-05-17T18:10:54.8013488Z The provided repo URL is https://@dev.azure.com///_git/.wiki
2021-05-17T18:10:54.8013939Z The protocol is https
2021-05-17T18:10:54.8014406Z The provided repo URL is https://@dev.azure.com///_git/.wiki
2021-05-17T18:10:54.8014912Z Removing leading http:// or https:// block
2021-05-17T18:10:54.8015301Z Removing leading username@ block
2021-05-17T18:10:54.8015807Z Trimmed the URL to dev.azure.com///_git/.wiki
2021-05-17T18:10:54.8016403Z URL used https://buildagent:***@dev.azure.com/******/******/_git/******.wiki
2021-05-17T18:10:54.8016831Z Cleaned D:\a\r1\a\repo
2021-05-17T18:10:59.1082824Z Cloned dev.azure.com///_git/*.wiki to D:\a\r1\a\repo
2021-05-17T18:10:59.1913289Z Set GIT values in D:\a\r1\a\repo
2021-05-17T18:10:59.1918888Z No sub-directory passed change to D:\a\r1\a\repo
2021-05-17T18:10:59.7345795Z Pull in case of post clone updates from other users
2021-05-17T18:10:59.7346568Z Working file name is ReleaseNotes.md
2021-05-17T18:10:59.7347032Z Created the 'ReleaseNotes.md' in 'D:\a\r1\a\repo' - fixing line-endings
2021-05-17T18:10:59.7382566Z ##[error]TypeError: Cannot read property 'replace' of undefined
2021-05-17T18:10:59.7392536Z ##[error]TypeError: Cannot read property 'replace' of undefined
2021-05-17T18:10:59.7407701Z ##[section]Finishing: Git based WIKI File Updater
Here's the template that I used.
Beta Was this translation helpful? Give feedback.
All reactions