Skip to content

Commit

Permalink
NO-ISSUE: Adding missing legal files to Chrome Extension release Jenk…
Browse files Browse the repository at this point in the history
…ins job (#2741)
  • Loading branch information
porcelli authored Nov 11, 2024
1 parent 71e1d04 commit 1afa2c4
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .ci/jenkins/release-jobs/Jenkinsfile.chrome-extensions
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,16 @@ pipeline {
cp "kie-tools/packages/chrome-extension-serverless-workflow-editor/dist/chrome_extension_serverless_workflow_editor_${params.RELEASE_VERSION}.zip" "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/${SWF_CHROME_EXTENSION_RELEASE_FILE}"
cp -r "${LEGAL_FILES_DIR}/." ${RELEASE_CANDIDATE_ARTIFACTS_DIR}/business-automation-chrome-extension-editors
cp -r "${LEGAL_FILES_DIR}/." ${RELEASE_CANDIDATE_ARTIFACTS_DIR}/sonataflow-chrome-extension-editors
zip -r "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/${CHROME_EXTENSION_RELEASE_FILE}" "${LEGAL_FILES_DIR}/NOTICE" "${LEGAL_FILES_DIR}/LICENSE" "${LEGAL_FILES_DIR}/DISCLAIMER-WIP"
zip -r "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/${SWF_CHROME_EXTENSION_RELEASE_FILE}" "${LEGAL_FILES_DIR}/NOTICE" "${LEGAL_FILES_DIR}/LICENSE" "${LEGAL_FILES_DIR}/DISCLAIMER-WIP"
echo "regular extensions start"
cp -r "${LEGAL_FILES_DIR}/." "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/"
zip -r "${CHROME_EXTENSION_RELEASE_FILE}" NOTICE LICENSE DISCLAIMER-WIP
zip -r "${SWF_CHROME_EXTENSION_RELEASE_FILE}" NOTICE LICENSE DISCLAIMER-WIP
echo "regular extensions end"
cd "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/business-automation-chrome-extension-editors" && zip -r "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/${CHROME_EXTENSION_EDITORS_RELEASE_FILE}" .
cd "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/sonataflow-chrome-extension-editors" && zip -r "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/${SWF_CHROME_EXTENSION_EDITORS_RELEASE_FILE}" .
rm -rf "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/business-automation-chrome-extension-editors"
rm -rf "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/sonataflow-chrome-extension-editors"
rm -rf "${RELEASE_CANDIDATE_ARTIFACTS_DIR}/{NOTICE,LICENSE,DISCLAIMER-WIP}"
""".trim()
}
}
Expand Down

0 comments on commit 1afa2c4

Please sign in to comment.