Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Skipping CI build from bitbucket to jenkins

I have configured webhook in my bitbucket repository which is running a jenkins pipeline everytime a commit is made. Now, i m using maven release plugin and everytime it makes commit to the repo while preparing a release, it triggers the pipeline. I do not want this pipeline to get triggered as there is no code change in the repo except the version change in the pom.xml file for the next development iteration. This is the endless loop and it never stops.

What i tried-

                    <plugin>
                        <groupId>org.apache.maven.plugins</groupId>
                        <artifactId>maven-release-plugin</artifactId>
                        <version>3.0.0-M1</version> 
                        <configuration>
                            <checkModificationExcludes>
                            <checkModificationExclude>GIT_LOG</checkModificationExclude>
                            </checkModificationExcludes>  
                            <scmCommentPrefix>"[skip ci]"</scmCommentPrefix>
                        </configuration>      
                    </plugin>

i tried this thinking that if the commit message contains [skip ci], it will not trigger but its still not working.

Can anyone help me here?

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

111 views 1 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you