Some checks failed
Unit Tests — Failed
test — Successful
lint — Successful
ai releases and development flake' (#3) from feature/ai-releases into main
Reviewed-on: #3
Examlpe usage in pipeline
@Library('semantic@main') _
podTemplate(containers: [
...
semanticGetContainerTemplate(),
]) {
...
// Somewhere in the middle of stages
def VERSION
if (!PULL_REQUEST) {
helpers.withGiteaCreds("GitBackendCreds", "git-tool") {
semantic.semantic(
stageName: "versioning",
giteaTokenCredId: "Gitea-releases",
giteaCredId: "GitBackendCreds",
giteaUrl: "${env.GIT_SCHEME}${env.GIT_HOST}",
currentBranch: BRANCH,
devBranch: "develop",
)
}
VERSION = semantic.semanticGetVersion()
}
}
Description
!!! Warning !!!
I think this library won't be just semantic one but whole library with all Jenkins tools we use. That's why there can be functions from different fields not just semantic ones
Languages
Groovy
45.9%
JavaScript
43.4%
Nix
10.7%