build/archive changelog for mdg
[osm/devops.git] / jenkins / ci-pipelines / ci_stage_2.groovy
index 7620111..aa4a9f4 100644 (file)
@@ -62,6 +62,8 @@ def ci_pipeline(mdg,url_prefix,project,branch,refspec,revision,do_stage_3,artifa
     }
 
     stage('Archive') {
+        sh "mkdir changelog"
+        sh "devops/tools/generatechangelog-pipeline.sh > changelog/changelog-${mdg}.html"
         sh(returnStdout:true,  script: 'devops-stages/stage-archive.sh').trim()
         ci_helper.archive(artifactory_server,mdg,branch,'untested')
     }