Add workflow compatibility to environment-dashboard
It would be useful to be able to publish deployments from workflow based jobs to the environment-dashboard.
This is dependent on workflow support for SimpleBuildWrapper - see https://issues.jenkins-ci.org/browse/JENKINS-24673
Would like to see this too
+1 for this feature, please!
+1 again - I´m migrating to pipeline (deployment) scripts where this is very important, too.
@toschder FYI I have a workaround for this.
I have a parameterized job called 'update-environment-table' with 3 inputs (PROJECT, NUMBER, ENVIRON). Those variables are passed to the "Details for Environment dashboard" section like ${PROJECT}
In my pipeline jobs, I have this function:
stage ('dev') { ... deploy ... updateEnvTable('dev'); } stage ('test') { ... deploy ... updateEnvTable('test'); }
def updateEnvTable(environ) {
build job: 'update-environment-table', parameters: [
string(name: 'PROJECT', value: env.JOB_NAME),
string(name: 'NUMBER', value: env.BUILD_NUMBER),
string(name: 'ENVIRON', value: environ)], wait: false
}
Hope that helps.
@vipinsthename, Is this plugin maintained? Will be there Jenkins Pipeline support? I see some PR coming to add this feature: #135
Hey @tsutsarin-fuib sorry been busy with my full time work :) So haven't been able to give it as much attention as it deserves.
Will look into the PR, will keep you all posted!
@vipinsthename did you have a chance to look at the PR? :)
@vipinsthename : would be really nice to be able to use your plugin with Jenkins pipelines, cp. the PR
@vipinsthename : Any updates on pipeline support? #135 . Awesome plugin by the way 👍
+1 please merge.