Compare commits

..
3 Commits
Author SHA1 Message Date
Karsten Jeppesen e31c006e80 WIP
CICD-UCN/QuizSystem/pipeline/head This commit looks good
2026-09-23 08:34:35 +02:00
Karsten Jeppesen 986de75770 Merge branch 'Docker' 2026-09-18 11:24:36 +02:00
Karsten Jeppesen 809471692f added password
CICD-UCN/QuizSystem/pipeline/head This commit looks good
2026-09-18 11:16:50 +02:00
2 changed files with 19 additions and 2 deletions
+1 -1
View File
@@ -42,6 +42,6 @@ done
solution=$(echo "$line" | cut -f 2 -d '/') solution=$(echo "$line" | cut -f 2 -d '/')
project=$(echo "$line" | cut -f 3 -d '/') project=$(echo "$line" | cut -f 3 -d '/')
echo "Building [$solution] [$project]" echo "Building [$solution] [$project]"
.workflow/DotDockerbuilder10.sh --solution $solution --project $project --git $GIT --gituser $OWNER .workflow/DotDockerbuilder10.sh --solution $solution --project $project --git $GIT --gituser $OWNER --accesstoken $GITEA_API_KEY
done done
+18 -1
View File
@@ -35,10 +35,20 @@ pipeline {
} }
stages { stages {
stage('Remove stale files') {
steps {
echo "Remove stale files"
sh "rm -f $CHANGED_FILES_FILE"
sh "rm -f $TEXT_FILES_FILE"
sh "rm -f $SCAN_JSON_FILE"
sh "rm -f $REPORT_FILE"
}
}
stage('List folder content') { stage('List folder content') {
steps { steps {
echo "List folder content" echo "List folder content"
sh "ls -l" sh "ls -la"
sh "export" sh "export"
} }
} }
@@ -128,6 +138,13 @@ pipeline {
post { post {
always { always {
archiveArtifacts allowEmptyArchive: true, artifacts: "${CHANGED_FILES_FILE}, ${TEXT_FILES_FILE}, ${SCAN_JSON_FILE}, ${REPORT_FILE}" archiveArtifacts allowEmptyArchive: true, artifacts: "${CHANGED_FILES_FILE}, ${TEXT_FILES_FILE}, ${SCAN_JSON_FILE}, ${REPORT_FILE}"
// Cleanup after build (if success)
cleanWs(cleanWhenNotBuilt: false,
deleteDirs: true,
disableDeferredWipeout: true,
notFailBuild: true,
patterns: [[pattern: '.gitignore', type: 'INCLUDE'],
[pattern: '.propsfile', type: 'EXCLUDE']])
} }
} }
} }