Jan-Benedict Glaw
unread,Jan 29, 2026, 5:51:02 AM (8 days ago) Jan 29Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to jenkins-j...@googlegroups.com
Hi!
This is probably a bit off-topic, but is there a way to communicate
back some internal state from within a build to Jenkins?
I see that there's a "Description" that could be set, though
manually. It would be nice to be able to eg. set some JSON to this
field (or any other similar way?) to be able to return more than just
a SUCCESS / FAILED state.
For example, some test suites expectedly fail, so within the build
script, I'd `|| true` them right now. However, it would be nice to set
some data from the building script to the job, like:
{
'requested_revision': 'master',
'actual_revision': '2c317c75dd97ee98465f307b00384a46628afe85',
'SOURCE_DATE_EPOCH': '1769681199',
...
}
One way could be to just write that as an artifact, but maybe there
are better ways in doing this? (Some heavier jobs would even have
multiple revisions, like doing full builds with glibc's
scripts/build-many-glibcs.py, which could use different compiler
revisions.)
Thanks,
Jan-Benedict
--