Author SHA1 Message Date
DavidoTek bd860ee6d8 Jenkinsfile: Generate studs and create artifact
LocationBasedServices/sumoc-backend/pipeline/head This commit looks good
LocationBasedServices/sumoc-backend/pipeline/pr-main This commit looks good
2026-01-20 22:04:09 +01:00
Vendored
+16
View File
@@ -32,5 +32,21 @@ node('built-in') {
}
}
// generate Swift/Kotlin API clients and provide artifact for download
stage('Generate API Clients') {
if (env.BRANCH_NAME == "deploy") {
sh 'mkdir -p app'
sh '''
chmod +x generateStuds.sh
./generateStuds.sh
'''
archiveArtifacts artifacts: 'app/**', allowEmptyArchive: false
} else {
echo "Skipping API client generation for non-deploy branch."
}
}
}