5

Jenkins - Do not build for a specific committer or commit a message

 2 years ago
source link: https://www.codesd.com/item/jenkins-do-not-build-for-a-specific-committer-or-commit-a-message.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Jenkins - Do not build for a specific committer or commit a message

advertisements

I'm having some issues with Jenkins and its Git plugin.

Currently, a Gitlab server is triggering the builds but I want to configure the job so that it doesn't build when a specific message is included in the commit.

I've tried using the ci-skip plugin (https://github.com/banyan/jenkins-ci-skip-plugin) but instead of not starting the job, the plugin allows it to start but then aborts it.

It does the job but I'm having aborted builds in Jenkins history and I'm trying to avoid that.

Anyone managed to do that?


Jenkins git plugin itself already provides these kinds of advanced usage.

Exclude specific messages

Job config page -->Source Code Management-->Git-->Add -->Polling ignores commits with certain messages

Exclude specific commiters

Job config page -->Source Code Management-->Git-->Add -->Polling ignores commits from certain users

Don't forget to click the help at the end of each of them to learn the correct way of usage.

Related Articles

Selection of rows that do not exist for a specific user

I have 4 tables (Users,Config,Fields,AvailableFields) User's relevant schema is UserID uniqueidentifier NOT NULL PRIMARY_KEY Config's relevant schema is ConfigID uniqueidentifier NOT NULL PRIMARY KEY UserID uniqueidentifier NOT NULL FOREIGN KEY (User

Can selenium find the location of the link and not look for a specific link?

I'm building a program that looks over google news and gets the links for the top ten stories, but I'm running into problems. I just can tell it to find a specific link because they change every day. Can selenium find the location where these links w

The auto-complete code does not work for a specific class

Like the title says, my code isn't auto completing in one specific class in my project which is really terrible for a beginning programmer like me. I've tried both Ctrl + Alt + Space and going to Tools -> Text Editor -> C# -> IntelliSense. Here &

Suddenly, I can not build for the iphone simulator

Sometimes one wants to really hate the Apple development environment. Seriously, does it need to be this complicated? My problem is this. I am no longer able to build my project to the Simulator. I am getting the following errors. I realize it is a l

CommonCrypto does not build for arc armv7 iOS

I recently just upgraded to the new XCode. After I upgraded, some of my apps won't build. I get this error: ld: cannot link directly with /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.0.sdk/usr/lib/sy

[Safari / Chrome fatal Bug] The HTML5 canvas does not work for a specific case, but Firefox works well

I use html5 canvas to build a function-graph software. There is a critical bug but I don't know what is going on. That is, when I call: yOFxGraph(plotFUNCinputYofX,-4,5,-4,4,"rgb(66,44,255)",1); everything works good in Firefox26/Chrome32/Safari

Ionic problem: can not build for Android

I've got an Ionic 3.4 project and trying to build it to Android for testing purposes. I installed Android Studio and the Android SDK, aswell Java 8. Then did: ionic cordova platform add android Then, when I write... ionic build android ... I get the

The regular expression does not work for a specific number

I have the regular expression needs to accept the value 6-240. [6-9]|[1-9][0-9]|1[0-9]{2}|2[0-3][0-9]|240 It is working fine for value from 6-239, but not 240. I have tried 0*([6-9]|[1-9][0-9]|1[0-9]{2}|2[0-3][0-9]|240) ([6-9]|[1-9][0-9]|1[0-9]{2}|2[

Wordpress - Messages per page do not work for a specific category-slug.php

I have a specific category-slug.php page. I want to display the first category "banner-ads" with only 1 post per page and then below that, display 3 posts per page from the category "featured." I don't want to use: **query_posts( 'post

The log4j configuration does not work for a specific class

I have a class which I want to redirect its log output to a file. But no matter what I do, it always outputs to the console. Here is my log4j.properties file. log4j.rootLogger=INFO, stdout log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.

PHP sessions do not work for a specific web page

I am creating a website on my raspberry pi. I am using PHP sessions to store data about logged in users. However whenever the user navigates to a different webpage, the session gets destroyed even though it should stay alive until the user closes the

MATLAB urlread does not work for a specific web page

I am attempting to scrape a webpage using the urlread() function in MATLAB, though I've run into a problem that I haven't seen before. When I run the code X = urlread('http://espn.go.com/mens-college-basketball/schedule/_/date/20141114'); I get the e

The Simple Php Mail Function Does Not Succeed for a Specific Web Address

I have a simple PHP script in the root of my client's website: <?php $to = "[email protected]"; $header = "From: {$to}"; $subject = "Hi!"; $body = "Hi,\n\nHow are you?"; if (mail($to, $subject, $body, $header))

How to search for a specific template with commas and numbers using egrep

I have million plus text file containing lines similar to below abc,xyz, =12093| abc,xyz, =12093, =10998| The first line is fine, but I want to find all the second line. i.e. I want to print all the lines which as pattern , =<some number> , =<som

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK