GithubHelp home page GithubHelp logo

pkdevboxy / teamcity-runas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jetbrains/teamcity-runas-plugin

0.0 2.0 0.0 967 KB

License: Apache License 2.0

Batchfile 0.55% Java 20.31% C# 79.14%

teamcity-runas's Introduction

JetBrains runAs plugin for TeamCity

This plugin provides the ability to run a build step under the specific windows user account.

How to Use It

The main purpose of the plugin is to provide isolation based on access rights of windows account.

All you need is to:

  • Specify the configuration parameter "teamcity.agent.run_as_user" in the format: user_name or user_name@domain or domain\user_name.
  • Specify the configuration parameter "teamcity.agent.run_as_password".
  • The user account should have the foollowing list of rights:
    • Read/write access to "temp" directories on the each agent
    • Read/write access to the "checkout" directory on the each agent
    • ... will be specified

That's it! Once the build is run, the plugin runs all commands under the specific account.

Install

To install the plugin, put the zip archive to 'plugins' direrctory under TeamCity data directory. Restart the server.

Implemention

This project contains 3 modules: 'runAs-server', 'runAs-agent' and 'runAs-common'. They contain code for server and agent parts and a common part, available for both (agent and server). When implementing components for server and agent parts, do not forget to update spring context files under 'main/resources/META-INF'. See TeamCity documentation for details on plugin development.

Build

To build this plugin you should have following:

Use 'build.cmd' to build your plugin. Resulting package 'runAs.zip' will be placed in root directory. The build is configured on the JetBrains TeamCity build server.

License

JetBrains runAs plugin for TeamCity is under the Apache License.

Contributors

teamcity-runas's People

Contributors

nikolaypianikov avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.