mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
feat(teamcity): add plugin zip build
This commit is contained in:
parent
9600617c52
commit
9168d83b63
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@ current
|
|||||||
npm-shrinkwrap.json
|
npm-shrinkwrap.json
|
||||||
package-lock.json
|
package-lock.json
|
||||||
yarn.lock
|
yarn.lock
|
||||||
|
teamcity-plugin/
|
@ -20,7 +20,10 @@
|
|||||||
"postdoctoc:check": "mv v-README.md.orig README.md",
|
"postdoctoc:check": "mv v-README.md.orig README.md",
|
||||||
"eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)",
|
"eclint": "eclint check $(git ls-tree --name-only HEAD | xargs)",
|
||||||
"dockerfile_lint": "dockerfile_lint",
|
"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": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
10
teamcity-plugin.xml
Normal file
10
teamcity-plugin.xml
Normal 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>
|
Loading…
Reference in New Issue
Block a user