Code Monkey home page Code Monkey logo

Comments (4)

mattcotton-justgiving avatar mattcotton-justgiving commented on June 12, 2024

update:
If I put a value like '1.1.10' in the Version regex field (in the material) and press 'Check connection' it comes back with matching 1.1.10. All good.
But when the pipeline runs it fails to pull anything from artifactory.
I see the following in the pipeline logs:

09:45:42.663 [go] setting environment variable 'GO_SCM_STANDARD_DEPLOY_LABEL' to value 'bad data, check logs'
...
09:45:42.663 [go] setting environment variable 'GO_SCM_STANDARD_DEPLOY_VERSION_REGEX' to value '1.0.11'

from go-artifactory-scm-plugin.

cnenning avatar cnenning commented on June 12, 2024

It seems you have defined a package material. That is intended to download latest version only. To choose a specific version you need to create a material of type Artifactory SCM, see screenshot in README of this project. Note that you must use a specific directory structure in artifactory for this plugin to find your versions.

from go-artifactory-scm-plugin.

mattcotton-justgiving avatar mattcotton-justgiving commented on June 12, 2024

No, it's definitely an Artifactory SCM material.

artifactory

It's all working when not specifying a version regex. But doesn't pull anything when specifying a version regex.

from go-artifactory-scm-plugin.

mattcotton-justgiving avatar mattcotton-justgiving commented on June 12, 2024

I found the issue. The version regex needs to be of the format "1.1.10/." rather than "1.1.10".

from go-artifactory-scm-plugin.

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.