Comments (4)
@kiler129 could you provide more details. Steps to reproduce, build log file might be really helpful
from teamcity-runas-plugin.
I have the same issue using the latest nightly build
Flink_Build_3.log
from teamcity-runas-plugin.
I have the same issue. I'm running my build agent as root, and relying on the runAs plugin. It appears that the temp
directory under the build agents working directory (~/BuildAgent
in my case) is deleted and recreated after every build. However, it is created using 755 permissions. This causes builds to fail if they require access to the temp directory while using the runAs feature.
from teamcity-runas-plugin.
In my case, also the fact the git checkout is done as root was a problem. As a workaround I've configured the build to use a fixed directory (e.g. /home/teamcity/example), created a script with "chown -R user. /home/teamcity/example", added "user ALL=(root) NOPASSWD: /path/to/the/script.sh" to /etc/sudoers, and added "sudo /path/to/the/script.sh" as the first build step.
from teamcity-runas-plugin.
Related Issues (20)
- Add Environment inheritance option in RunAs GUI
- Add ability to configure list of credentials per agent
- Add ability tp specify the list of resources with apropriate access rights before build step
- runAs.sh is absent on linux agents
- PowerShell build step fails under runAs in x64 mode
- Couldn't start a build under runAs user on linux agent
- Add ability to specify the list of resources with apropriate access rights on initialize agent
- Windows XP agent log is flooded with errors from runAs plugin
- "Credentials directory was not found" if a directory was specified without a backslash at the end.
- The runAs plugin passes invalid arguments in some cases like for NUnit "--where cat!=ab&&cat!=cd"
- The RunAs user password is compromised via agent build log file
- Plugin added; "Run As" options not visible HOT 7
- runAs doesn't work on agent on mac os
- Can't install on TeamCity TeamCity Professional 2017.2.3 (build 51047) HOT 3
- Use `mktemp` instead `tempfile`
- Selected archive doesn't contain teamcity-plugin.xml file. HOT 1
- RunAs not listed in build features HOT 3
- runas plugin not working
- No runAs in build features HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teamcity-runas-plugin.