Git Product home page Git Product logo

Comments (8)

sthirugn avatar sthirugn commented on June 15, 2024

👍

Also it should ability to point to a specific branch other than master.

from robottelo-ci.

rplevka avatar rplevka commented on June 15, 2024

the way jenkins grabs the repo:

git fetch <repo> <sha1-of-commit-of-interest>

from robottelo-ci.

elyezer avatar elyezer commented on June 15, 2024

The SCM plugin offers some ways to configure what should be fetched. What I can remember now is that it allows environment variables to define the branch to use. Still need to research about the repository.

As a alternative approach is to call git commands on a shell builder in order to point to the required repository and commit/tag/branch.

from robottelo-ci.

lpramuk avatar lpramuk commented on June 15, 2024

I tested the following config and it works:

Created new String Parameter named GIT_PROJECT (default could be SatelliteQE) and adjusted SCM Repository URL to:

https://github.com/${GIT_PROJECT}/automation-tools.git

from robottelo-ci.

elyezer avatar elyezer commented on June 15, 2024

We should also add the possibility to change the branch.

Also the repository for standalone automation is robottelo not automation-tools.

from robottelo-ci.

sthirugn avatar sthirugn commented on June 15, 2024

@rplevka PR #223 should take care of this. Do you need anything else here?

from robottelo-ci.

rplevka avatar rplevka commented on June 15, 2024

@sthirugn that'd be it, thanks a lot!

from robottelo-ci.

sthirugn avatar sthirugn commented on June 15, 2024

Awesome, hopefully there wont be a need to user clone this job in future :)

from robottelo-ci.

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.