How to use latest jenkins version to debug plugin?

32 views
Skip to first unread message

Ryanivanka

unread,
Oct 8, 2015, 4:45:00 AM10/8/15
to Jenkins Developers
Hi Experts,

I'm debugging credential plugin, which use 1.56 as default jenkins version. I can hpi:run my plugin and access my jenkin web page on http://localhost:8080/jenkins

But the version is too old, I want to install other plugin to check some behavior. How can I change the default jenkin version?

I have tried to update the pom.xml to use 1.632 version.

<parent>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>plugin</artifactId>
<version>1.632
</version>
</parent>

and update the intellij project file credentials.iml, to use all 1.632 jenkins jar. 

After I clean and install, and run the debug jenkins instance, the page become unreadable, like losing some style. Obviously, my update is not right. 

Is there any way to update the jenkins version for debugging plugin?

Thanks a lot,
Ryanivanka




Victor Martinez

unread,
Oct 8, 2015, 6:57:31 AM10/8/15
to Jenkins Developers
That's the way of updating the jenkins version dependency and if you see some weird changes in the style there was an UI change in the version 1.575 (https://jenkins-ci.org/changelog) it might be related to that style issue

I hope it helps

Ryanivanka

unread,
Oct 8, 2015, 9:54:51 AM10/8/15
to jenkin...@googlegroups.com
Thank you Victor. If I only change the version in pom.xml and use maven to rebuild, it won't load the latest CSS file? I expect it's contained in jar. How can I fix this?

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Developers" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-dev/4n0wBiMY5JI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-de...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-dev/c2b21e2c-1bce-4ec6-8d7d-7a2add419fc1%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Victor Martinez

unread,
Oct 8, 2015, 12:40:33 PM10/8/15
to Jenkins Developers
You might need to.remove that build.generated folder via mvn clean and likely another generated folder which.contains the JENKINS_HOME data, then those cache data won't be there and you will have a clear jenkins instance

I hope it helps

Reply all
Reply to author
Forward
0 new messages