This is a plugin for TeamCity that provides following build runners
Plugin is implemented with JetBrains Kotlin
- Environment detection
- Plugin detects node.js in system PATH
node.jsand reports it's version as configuration parameternode.js. - Plugin detects system wide installed
npmand reports it's version as configuration parameternode.js.npm - Build Runners
node.jsbuild runner to run.jsfile or source codenode.js NPMbuild runner to execute NPM commandsnode.js NVM Installerbuild runner to install/update to selected version of Node.jsPhantom.JSbuild runner to run.js,.coffee(or other script) file or source code.Gruntbuild runner to run your grunt scripts. It's assumes you havegruntandgrunt-cliNPM packages installed to local repoGulpbuild runner to run you gulp scriptsBowerbuild runner to run you bower scriptsYarnbuild runner to execute yarn commands
Apache 2.0
Plugin is tested to work with TeamCity 7.1, 8.0, 8.1, 9.0 and 9.1. It should work with 7.0 (and maybe 6.5)
Agent and server are expected to run JRE 1.7 (or maybe JRE 1.6)
Download the latest build from TeamCity
- Download the plugin build (binaries) from https://teamcity.jetbrains.com/guestAuth/repository/download/bt434/.lastSuccessful/jonnyzzz.node.zip
- If the link does not work, select latest successful build here https://teamcity.jetbrains.com/viewType.html?buildTypeId=bt434
- Make sure downloaded
.zipfile is not corrupted - Put the downloaded plugin
.zipfile into<TeamCity Data Directory>/pluginsfolder - Restart the TeamCity Server
- Open
Administration | Pluginsand check you see the plugin listed
For more details, there is documentation
- Define
$TeamCityDistribution$IDEA path variable with path to TeamCity home (unpacked.tar.gzor installed.exedistribution). - Add tomcat application server named
Tomcat 7into IDEA settings from TeamCity distribution path - Use IDEA build runner in TeamCity of Intellij IDEA 12 with Kotlin plugin to develop
- TeamCity server and agent plugin bundle
- Plugin version will be patched if building with IDEA build runner in TeamCity
- Run configuration
serverto run/debug plugin under TeamCity (usehttp://localhost:8111/bs) - pre-configured IDEA settings to support references to TeamCity
- Uses
$TeamCityDistribution$IDEA path variable as path to TeamCity home (unpacked .tar.gz or .exe distribution) - Bunch of libraries for most recent needed TeamCity APIs
- Module with TestNG tests that uses TeamCity Tests API
- Unmet requirements: npm package exists
When your your NPM packages folder in your PATH system environment variable is pointing to the system profile ("C:\Windows\System32\config\systemprofile\AppData\Roaming\npm") you will get this error. This is because this plugin runs under 32 bit and this folder will redirect 32 bit applications trying to access it to "C:\Windows\SysWOW64\config\systemprofile\AppData\Roaming\npm". To resolve this point your NPM packages folder in your PATH environment variable to a different folder (e.g. C:\npm) or point it to the SysWow64 folder above.
This plugin was created with TeamCity Plugin Template
This is my (Eugene Petrenko) private home project