feat(teamcity): add plugin zip build

This commit is contained in:
Florian Hoyer 2022-08-26 14:52:28 +02:00
parent 9600617c52
commit 9168d83b63
3 changed files with 15 additions and 1 deletions

1
.gitignore vendored
View File

@ -21,3 +21,4 @@ current
npm-shrinkwrap.json
package-lock.json
yarn.lock
teamcity-plugin/

View File

@ -20,7 +20,10 @@
"postdoctoc:check": "mv v-README.md.orig README.md",
"eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)",
"dockerfile_lint": "dockerfile_lint",
"markdown-link-check": "git ls-files | command grep -E '\\.md$' | xargs -n 1 markdown-link-check -p"
"markdown-link-check": "git ls-files | command grep -E '\\.md$' | xargs -n 1 markdown-link-check -p",
"preteamcity:tool": "rm -R ./teamcity-plugin && mkdir -p ./teamcity-plugin",
"teamcity:tool:copy": "cp ./nvm.sh ./teamcity-plugin && cp ./teamcity-plugin.xml ./teamcity-plugin",
"teamcity:tool": "npm run teamcity:tool:copy && zip -j teamcity-plugin/nvm.zip teamcity-plugin/*"
},
"repository": {
"type": "git",

10
teamcity-plugin.xml Normal file
View File

@ -0,0 +1,10 @@
<teamcity-agent-plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:schemas-jetbrains-com:teamcity-agent-plugin-v1-xml">
<tool-deployment>
<layout>
<executable-files>
<include name="nvm.sh"/>
</executable-files>
</layout>
</tool-deployment>
</teamcity-agent-plugin>