You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if you want to set the build number manually, you can use the clientConfig.info.setBuildNUmber() which is great but has a bad side affect - the build.number property is not attached to the artifact, thus causing the artifact to not be aware to the build that created it (and making the promote action on the build fail).
The reason for that is the code in GradleArtifactoryClientConfigUpdater.setMissingBuildAttributes. There, if no one set manually the build number it sets it for you and publishes the property to the artifact by doing
But in the case you set it manually, no one adds it to the properties. The fix currently is to add the extra code yourself but I found it out the hard way by tracing your code.
The same occurs for buildName and the rest of the properties in that class.
I think the fix should be to set the matrix param only if it was not set, separately from the buildName set in the info
The text was updated successfully, but these errors were encountered:
Currently, if you want to set the build number manually, you can use the clientConfig.info.setBuildNUmber() which is great but has a bad side affect - the build.number property is not attached to the artifact, thus causing the artifact to not be aware to the build that created it (and making the promote action on the build fail).
The reason for that is the code in
GradleArtifactoryClientConfigUpdater.setMissingBuildAttributes
. There, if no one set manually the build number it sets it for you and publishes the property to the artifact by doingBut in the case you set it manually, no one adds it to the properties. The fix currently is to add the extra code yourself but I found it out the hard way by tracing your code.
The same occurs for buildName and the rest of the properties in that class.
I think the fix should be to set the matrix param only if it was not set, separately from the buildName set in the info
The text was updated successfully, but these errors were encountered: