- updating of views does not seem to work

25 vistas
Ir al primer mensaje no leído

Nikolay Diakov

no leída,
23 abr 2015, 9:39:37 a.m.23/4/15
para job-dsl...@googlegroups.com
Using plugin version 1.30, Jenkins LTS 1.596.1.
In the seeder job I run all groovy files and have "ignoreExisting" ticked off.

When I run the seeder job it creates the views.
When I make a change to the script, the seeder reports it generated it, but it does not seem to update the view. I have to delete the view before the seeder runs generation, so that the change appears in the view.

nestedView("Project A") {
    views {
        view('Builds') {
            jobs { 
                regex("BUILD-.*") 
            }
            columns {
                status()
                weather()
                name()
                lastSuccess()
                lastFailure()
                lastDuration()
            }
        }

        view('Linting') {
            description('Views all linting jobs.')
            
            jobs {
                regex('LINT-.*')
            } 
            columns {
                status()
                weather()
                name()
                lastSuccess()
                lastFailure()
                lastDuration()
            }
       }
    }
}

I see that "ignoreExisting" has a default value 'true'. Could it be that the plugin UI does not convey the context properly?

Daniel Spilker

no leída,
4 may 2015, 7:54:04 a.m.4/5/15
para job-dsl...@googlegroups.com
I can not reproduce the problem. "ignoreExisting" is not enabled by default, the checkbox is not checked. To update existing jobs and view, it needs to be un-checked.

--
You received this message because you are subscribed to the Google Groups "job-dsl-plugin" group.
To unsubscribe from this group and stop receiving emails from it, send an email to job-dsl-plugi...@googlegroups.com.
To post to this group, send email to job-dsl...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/job-dsl-plugin/478fd030-fcbf-40ad-99ff-cd84d37fac31%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Responder a todos
Responder al autor
Reenviar
0 mensajes nuevos