Skip to content

Instantly share code, notes, and snippets.

View MRamonLeon's full-sized avatar

Ramon Leon MRamonLeon

View GitHub Profile
@MRamonLeon
MRamonLeon / README.md
Created March 20, 2023 10:13 — forked from donaldpipowitch/README.md
Use GitLab Pages to deploy a Storybook per branch

It's quite straightforward to use GitLab Pages to deploy a Storybook instance per branch (and remove it whenever the branch will be removed). And yeah, it's irony to document this in a GitHub Gist 😅

You just need a .gitlab-ci.yml like this one:

stages:
  - setup
  - build-and-test
  - deployment
  - pages
@MRamonLeon
MRamonLeon / InitMilestonesTest.java
Created January 24, 2020 17:39
Test new InitMilestones and their order
package jenkins.model;
import hudson.init.InitMilestone;
import hudson.init.Initializer;
import org.junit.Rule;
import org.junit.Test;
import org.jvnet.hudson.test.RestartableJenkinsRule;
import java.time.Duration;
import java.time.Instant;
@MRamonLeon
MRamonLeon / log.txt
Created November 25, 2018 11:54
Log DisablePluginTest
mvn -Dfindbugs.skip=True -Dtest=DisablePluginCommandTest clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Jenkins main module [pom]
[INFO] Jenkins cli [jar]
[INFO] Jenkins core [jar]
[INFO] Jenkins war [war]
[INFO] Tests for Jenkins core [jar]