environment-dashboard-plugin icon indicating copy to clipboard operation
environment-dashboard-plugin copied to clipboard

Add workflow compatibility to environment-dashboard

Open harniman opened this issue 10 years ago • 10 comments

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

harniman avatar Feb 26 '15 09:02 harniman

Would like to see this too

neilhunt1 avatar Dec 17 '15 18:12 neilhunt1

+1 for this feature, please!

SausagePie avatar Oct 01 '16 01:10 SausagePie

+1 again - I´m migrating to pipeline (deployment) scripts where this is very important, too.

toschder avatar Jan 16 '17 14:01 toschder

@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.

SausagePie avatar Jan 17 '17 11:01 SausagePie

@vipinsthename, Is this plugin maintained? Will be there Jenkins Pipeline support? I see some PR coming to add this feature: #135

tsutsarin-fuib avatar Jul 17 '17 12:07 tsutsarin-fuib

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 avatar Jul 21 '17 19:07 vipinsthename

@vipinsthename did you have a chance to look at the PR? :)

StyleT avatar Aug 11 '17 09:08 StyleT

@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 👍

sdilipmallya avatar Jan 28 '18 21:01 sdilipmallya

+1 please merge.

empireij avatar Oct 08 '18 17:10 empireij