Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to skip builds #45

Closed
michaelsauter opened this issue Nov 23, 2018 · 5 comments
Closed

Allow to skip builds #45

michaelsauter opened this issue Nov 23, 2018 · 5 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@michaelsauter
Copy link
Member

Developers might want to skip a pipeline build, e.g. if only documentation changes were made. Other CI systems allow this, e.g. by adding something special to the Git commit message. GitLab uses [ci skip], which we could use as well.

@michaelsauter michaelsauter added the enhancement New feature or request label Nov 23, 2018
@clemensutschig
Copy link
Member

+1 like that.

@michaelsauter michaelsauter added the good first issue Good for newcomers label Feb 5, 2019
@michaelsauter
Copy link
Member Author

michaelsauter commented Feb 15, 2019

The suggested command is git show --pretty=%s%n%b -s | grep '\[ci skip\]', which finds [ci skip] (which is used by e.g. Gitlab) in subject or body of a commit message. @akhilsoman @sino92 @buegelbeatz is one of you keen to take a look into this?

@akhilsoman
Copy link

@michaelsauter, I could take a look

@clemensutschig
Copy link
Member

@akhilsoman- 1.10?

@akhilsoman
Copy link

@clemensutschig yes I guess. I will test it this week and confirm.

@akhilsoman akhilsoman moved this from To Do to In Progress in OpenDevStack 1.1.0 Mar 5, 2019
@akhilsoman akhilsoman moved this from In Progress to Done in OpenDevStack 1.1.0 Mar 15, 2019
stitakis pushed a commit that referenced this issue Aug 7, 2019
…m feature/allow-skip-builds to production

* commit 'ac66796963f9ccc14d7754ef20b2a0d3e9eb525d':
  Updating log message on build skip
  marking Jenkins status as NOT_BUILT when skipping build
  removing explicit return
  allow to skip builds
michaelsauter pushed a commit to BIX-Digital/ods-jenkins-shared-library that referenced this issue Apr 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
No open projects
Development

No branches or pull requests

3 participants