Skip to content

Instantly share code, notes, and snippets.

View vivek's full-sized avatar

Vivek Pandey vivek

  • Mirantis, Inc.
  • San Francisco, USA
View GitHub Profile
diff --git a/blueocean-pipeline-api-impl/pom.xml b/blueocean-pipeline-api-impl/pom.xml
index 8a55f4a0..08d5045c 100644
--- a/blueocean-pipeline-api-impl/pom.xml
+++ b/blueocean-pipeline-api-impl/pom.xml
@@ -27,7 +27,7 @@
<dependency>
<groupId>org.jenkins-ci.plugins.workflow</groupId>
<artifactId>workflow-job</artifactId>
- <version>2.6</version>
+ <version>2.9</version>
Started by user admin
[Tue Jan 31 21:50:07 PST 2017] Starting branch indexing...
Creating git repository in /Users/vivek/ws/blueocean/blueocean/work/caches/git-1f436bcc706e65daf777899d41aa1c16
> git init /Users/vivek/ws/blueocean/blueocean/work/caches/git-1f436bcc706e65daf777899d41aa1c16 # timeout=10
Setting origin to https://github.com/cloudbees/docker.git
> git config remote.origin.url https://github.com/cloudbees/docker.git # timeout=10
Fetching & pruning origin...
Fetching upstream changes from origin
> git --version # timeout=10
using GIT_SSH to set credentials vivek ssh2
2017-01-26 17:29:57,506 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - [Edge Cases / Folder] Test Suite
2017-01-26 17:29:57,506 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - ====================================
master51193|Jan 26, 2017 5:29:57 PM org.jenkinsci.plugins.ssegateway.sse.EventDispatcherFactory start WARNING: No CrumbIssuer on Jenkins instance. Some POSTs might not work.
2017-01-26 17:29:57,511 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - Connected to the Jenkins SSE Gateway.
2017-01-26 17:29:57,517 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - Subscribed to the "job" event channel.
2017-01-26 17:29:57,517 [Thread-3] INFO (InputStreamHandler.java:47) com.github.eirslett.maven.plugins.frontend.lib.DefaultGulpRunner - Subscribed to
<?xml version='1.0' encoding='UTF-8'?>
<flow-definition plugin="workflow-job@2.6">
<actions>
<org.jenkinsci.plugins.orgfolder.github.GitHubLink plugin="github-organization-folder@1.5">
<image>branch</image>
<url>https://github.com/kzantow/failure-project/pull/7</url>
</org.jenkinsci.plugins.orgfolder.github.GitHubLink>
</actions>
<keepDependencies>false</keepDependencies>
<properties>
Started by user admin
[Wed Jan 25 16:07:10 PST 2017] Starting branch indexing...
Connecting to https://api.github.com using vivek/******
Connecting to https://api.github.com using vivek/******
Looking up kzantow/failure-project
Getting remote pull requests...
Checking pull request #7
(not from a trusted source)
Jan 20, 2017 1:38:39 PM io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeGraphVisitor handleChunkDone
SEVERE: =======> Missing TagAction
Jan 20, 2017 1:38:39 PM io.jenkins.blueocean.rest.impl.pipeline.PipelineNodeGraphVisitor handleChunkDone
INFO: ========> printNodes:
Node dump follows, format:
[ID]{parent,ids}(millisSinceStartOfRun) flowNodeClassName stepDisplayName [st=startId if a block end node]
Action format:
- actionClassName actionDisplayName
------------------------------------------------------------------------------------------
[2]{}(N/A)FlowStartNode Start of Pipeline
Jan 16, 2017 1:42:45 PM hudson.PluginManager$1$3$2$1 reactOnCycle
SEVERE: found cycle in plugin dependencies: (root=Plugin:workflow-scm-step, deactivating all involved) Plugin:workflow-scm-step -> Plugin:git -> Plugin:workflow-scm-step
Jan 16, 2017 1:42:45 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Jan 16, 2017 1:42:46 PM hudson.init.impl.InstallUncaughtExceptionHandler$DefaultUncaughtExceptionHandler uncaughtException
SEVERE: A thread (pool-6-thread-8/41) died unexpectedly due to an uncaught exception, this may leave your Jenkins in a bad way and is usually indicative of a bug in the code.
java.lang.NoClassDefFoundError: jenkins/plugins/git/AbstractGitSCMSource
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:763)
at jenkins.util.AntClassLoader.defineClassFromData(AntClassLoader.java:1139)
Started
Consulting GitHub Organization
Connecting to https://api.github.com using vivek/******
Looking up repositories of organization cloudbeers
Proposing basic
Connecting to https://api.github.com using vivek/******
Looking up cloudbeers/basic
Getting remote pull requests...
=== Starting restartBetweenJobs(org.jenkinsci.plugins.workflow.steps.build.BuildTriggerStepRestartTest)
Jul 03, 2014 7:56:27 PM hudson.model.Run execute
INFO: test1 #1 main build action completed: SUCCESS
Jul 03, 2014 7:56:27 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
INFO: foo #1 completed: SUCCESS
Jul 03, 2014 7:56:27 PM org.mortbay.log.Slf4jLog info
INFO: Stopped SocketConnector@0.0.0.0:52123
Jul 03, 2014 7:56:27 PM org.jenkinsci.plugins.workflow.job.WorkflowRun finish
WARNING: null
java.lang.NullPointerException
@vivek
vivek / gist:8f3ba9e4cfce8ba5e3f6
Last active August 29, 2015 14:02
Getting Started With Workflow Plugin

Getting Started With Workflow Plugin

In this getting started you are going to be running a Workflow job. In a simpler setup both Jenkins master and slave are going to run on the same host. We also run a Docker based VM running Jetty web server.

Seps involved are:

  • Checkout a Git repo and build a WAR file and run some parallel tests

  • If previous step is successful, deploy this WAR file to staging endpoint on the Jetty server running in remote VM via