Files
PSU-Test-01/shellscripts/Jenkinsfile
PSU-CICD 91204da90c
Some checks failed
PSU-X25-CICD/PSU-Test-01/pipeline/head There was a failure building this commit
PSU-CICD/PSU-Test-01/pipeline/head This commit looks good
Initial commit
2026-03-01 09:45:41 +00:00

37 lines
915 B
Groovy

pipeline {
agent {
label 'cicd-builder'
}
stages {
stage('List folder content') {
steps {
echo "List folder content"
sh "ls -l"
sh "export"
}
}
stage('Change to unix files') {
steps {
echo "Change to unix files"
sh "/bin/dos2unix shellscripts/*"
sh "/bin/chmod 755 shellscripts/*"
}
}
stage('Build all projects') {
steps {
echo "Build all projects"
sh "shellscripts/01_dotnet_build.sh"
}
}
stage('Docker container release') {
when {
branch 'Docker'
}
steps {
echo "Build container(s)"
sh "shellscripts/01_container_build.sh"
}
}
}
}