Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • P Phantasm All Automations
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Terraform modules
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Abhisek
  • Phantasm All Automations
  • Merge requests
  • !8

Stage Allure results into hub-relative dir so the plugin can find them

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged Abhisek requested to merge abhisek into main May 29, 2026
  • Overview 0
  • Commits 2
  • Pipelines 0
  • Changes 5

The Jenkins Allure plugin can't reliably resolve absolute paths when the workspace contains a space ("Phantasm All"), and the previous attempt to pass a BUILD_TAG-derived relative path didn't help because BUILD_TAG itself bakes the spaced job name in (jenkins-Phantasm All-NN).

  • collect-artifacts.sh: also copy allure-results into qa-automation-hub/ allure-results/ (a fixed, space-free, relative path under the hub workspace) after clearing any stale staging from a previous build. Log the result so empty-Allure regressions are obvious in the console.
  • Jenkinsfile Publish Allure stage: drop the readProperties dance and point the plugin at path: 'allure-results' (relative to the hub workspace). No absolute paths, no BUILD_TAG interpolation.
  • run-project.sh: switch PROJECT_PATH back to printf '%q' so bash source in collect-artifacts.sh reconstructs the spaced path correctly. The previous "%s" quoted form looked OK to bash but Java's Properties parser kept the literal quotes inside the value, which is what broke the earlier path-with-LAST_PROJECT_ID approach.

allure-results/ is already covered by **/allure-results/ in .gitignore, so the staged copy never gets committed.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: abhisek