Files
ps.ipam/Jenkinsfile
2022-12-27 09:31:33 +03:00

23 lines
700 B
Groovy

pipeline {
agent {
label '.net7.0'
}
environment {
dockerhub = credentials('7be238fc-d62e-46e7-9aa9-7f6b82623e2f')
gitea = credentials('83c86412-c52d-4906-9b9d-9d8d7f26da7f')
}
stages {
stage('Build classlib') {
steps {
sh '''cd classlib
dotnet build --no-incremental --force --configuration Release
dotnet publish -c Release'''
}
}
}
post {
success {
archiveArtifacts artifacts: 'classlib/bin/Release/netstandard2.1/publish/*.dll, *.psd1, *.psm1, LICENSE, **/*.ps1xml, **/*.ps1', followSymlinks: false, onlyIfSuccessful: true
}
}
}