Git Product home page Git Product logo

Comments (5)

gsvgit avatar gsvgit commented on May 28, 2024

@raymon-02 , really, WTF?

from yaccconstructor.

raymon-02 avatar raymon-02 commented on May 28, 2024

@polubelova and @gsvgit,

Why WTF?
You don't need to change user name and password in more than one place:

  1. .fsx script: only ref to repo (we have more than one repo, that's why it must be specify). And it happens because we've moved our repo to GitHub
  2. VCS root configuration: only user name and password. The same story. And general user has different passwords to different repos.
  3. Git set user: you don't have to change it. It's only for commit story (but this field cannot be empty).
    Another case is if you really want to change user name, you will have to change user name in triggers. Otherwise building will be run infinitely.

from yaccconstructor.

raymon-02 avatar raymon-02 commented on May 28, 2024

@polubelova and @gsvgit,

I fixed some things: now there is no need to change user name and password for every build configuration (if unexpectedly user name and password have been really changed due to some unbelivieble occasions). All these stuff (user name, email..) are in variables in General Parameters. So you need to change only these ones (yes, in one place).
I added these variables in all build configurations.
Bugs could be occured if the ref to the repo in fsx scipt is wrong (or values of using parameters are wrong).

Close and comment? Or still WTF?

from yaccconstructor.

gsvgit avatar gsvgit commented on May 28, 2024

Well. Is it possible to specify TC environment variables for user, password, and URL and use them everywhere? Moreover, seems that some of variables should available immediately after VCS root configuration. All variables can be passed to scripts as parameters.

from yaccconstructor.

raymon-02 avatar raymon-02 commented on May 28, 2024

Yes, it is possible. I changed scripts: now values of user, password and URL are taken from TC environment variables. So there is no need to specify user and password in bat file.
User and password are common for all configuarions, but URL is specified for every configuration as repos can be different.

from yaccconstructor.

Related Issues (20)

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.