Yes, that's expected, at least in the sense that changes to the pipeline
library are applied to repositories unless the repository specifically
loads a precise version of the pipeline library.

In this case, the change is a switch from compiling and testing with
Jenkins 1.190.x to instead compile and test with Jenkins 2.222.x.  That's
part of the ci.jenkins.io buildPlugin() call for recommended configurations.

Usually that hints that it may be time to consider updating the minimum
Jenkins version supported by your plugin.

As an example, I did some analysis of the Jenkins installed versions of the
git plugin and decided that it is now time to update the minimum Jenkins
version required for the git plugin.  The current minimum version is
Jenkins 2.138 (yes, that is a very, very old Jenkins version).  The next
git plugin release will require at least Jenkins 2.204.

Mark Waite

On Fri, May 1, 2020 at 6:52 PM Richard Bywater <[email protected]> wrote:

> Just wondering if its expected that updates to Jenkins-Infra pipeline
> library might cause issues on builds that have no changes to pom.xml etc.?
>
> Looks like there was a pipeline library change made between
> https://ci.jenkins.io/job/Plugins/job/htmlpublisher-plugin/job/PR-56/1/
> and
> https://ci.jenkins.io/job/Plugins/job/htmlpublisher-plugin/job/PR-56/2/
> which has broken the build due to library version issues such as :
>
> *12:28:10*  Failed while enforcing RequireUpperBoundDeps. The error(s) are 
> [*12:28:10*  Require upper bound dependencies error for 
> org.slf4j:jcl-over-slf4j:1.7.25 paths to dependency are:*12:28:10*  
> +-org.jenkins-ci.plugins:htmlpublisher:1.23-SNAPSHOT*12:28:10*    
> +-org.slf4j:jcl-over-slf4j:1.7.25*12:28:10*  and*12:28:10*  
> +-org.jenkins-ci.plugins:htmlpublisher:1.23-SNAPSHOT*12:28:10*    
> +-org.jenkins-ci.main:jenkins-core:2.222.3*12:28:10*      
> +-org.slf4j:jcl-over-slf4j:1.7.25 (managed) <-- 
> org.slf4j:jcl-over-slf4j:1.7.26
>
> Not sure if there's an issue with my pom.xml or similar that needs fixing but 
> thought it strange it would
> suddenly break.
>
> Any help gratefully received :)
>
> Richard.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/CAAy0hwftkMA7_BTaW2tZj1-02WeyyVtWrWtSU6nKWMFP7jk7YA%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/CAAy0hwftkMA7_BTaW2tZj1-02WeyyVtWrWtSU6nKWMFP7jk7YA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAO49JtEei44uNX_LYXAap69%3DLpThCGyXPKxnw62NzhjSf8xiuQ%40mail.gmail.com.

Reply via email to