Jump to content

Do not trigger Jenkins build when specific file is changed


wyattetal

Recommended Posts

Is there a way to configure Plastic and Jenkins so that changes to a specific file or files do NOT trigger a build?

 

Use case:

Jenkins is configured to poll SCM and build if there are changes.

However, the Jenkins job also builds an installer and changes the versions file for the code.

The next time the Jenkins job polls for changes, there is always a change: the change to the versions file made by the last Jenkins job execution.

 

Is the solution to have two different Jenkins jobs: one that polls and checks code health and one that is manually triggered and deployables and changes version headers? 

Link to comment
Share on other sites

  • 2 weeks later...

I'm afraid that can't be done, at least in our side (plugin)

 

But I think you will be able to check, during the jenkins pre-build actions if the new changeset (cm diff) is having changes only for the installers, in that case you can skip the build.

 

What do you think?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...