Skip to content

Add post to trigger pipeline#49

Merged
badetitou merged 5 commits intodevelopfrom
add-post-to-trigger-pipeline
Jun 6, 2025
Merged

Add post to trigger pipeline#49
badetitou merged 5 commits intodevelopfrom
add-post-to-trigger-pipeline

Conversation

@badetitou
Copy link
Copy Markdown
Member

@badetitou badetitou commented Jun 4, 2025

I added the code to be able to trigger pipelines from Pharo

Example:

glphApi pipelines post: 6728 withVariables: {
	'variables[LABEL]' -> 'Projects'.
	'variables[CIDESCRIPTION]' -> 'Projects'.
	'variables[PROJECTS_ID]' -> '4304, 4810, 942, 3129, 7362, 352, 353, 897, 132, 6404, 6403, 6599, 6598, 5649, 5670, 5770, 5648, 5688, 5643, 5686, 5683, 5484, 5689, 5681, 5680, 5679, 5676, 5650, 5646, 5636, 5687, 6164'.
	'variables[NUMWEEKPRIOR]' -> '0'.
	'variables[DATE]' -> '05-25-2025'.
	'token' -> '<myToken>'.
	'ref' -> 'main'. 
} asDictionary

(diff are more visible here: 27a8a82)

@coveralls
Copy link
Copy Markdown

coveralls commented Jun 4, 2025

Pull Request Test Coverage Report for Build 15488647200

Details

  • 282 of 290 (97.24%) changed or added relevant lines in 5 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 95.006%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/GitlabAPI-Pipelines/GitlabPipelines.class.st 0 8 0.0%
Totals Coverage Status
Change from base Build 15488429333: -0.2%
Covered Lines: 2264
Relevant Lines: 2383

💛 - Coveralls

@badetitou badetitou merged commit 69d050e into develop Jun 6, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants