Comments (4)
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.
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.
No, it's definitely an Artifactory SCM material.
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.
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)
- package-plugin should support directories
- change user-agent to plugin-name plus version
- Errors due to date/time parsing
- weird behavior on timeout during download
- Option to just write a file with version number instead of downloading files
- "check connection" button shows oldest version -> change to newest
- Add "Version Regex" for SCM Materials
- Make Connection-Pool-Size configurable
- Add username/password
- NPEs appearing in log HOT 1
- Seems to pull random versions HOT 8
- gocd17.11 setting proxy url, but plugin does not through proxy HOT 2
- Having issues with fetching the correct artifactory artifact HOT 3
- How to make artifactory:scm work with docker repository on artifactory HOT 2
- Download of directory listings causes redirect
- Support for plugin settings configuration
- With go 16.11 there can be just one single Artifactory SCM material for all pipelines
- Add filename pattern for downloads
- Support for Package Material
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 go-artifactory-scm-plugin.