≈ Approximate Number
I`m writing useless blog

How To Add Instagram Feed To Your Jekyll Site

Small tutorial for you who want to show your nice pics from instagram on your small Jekyll site :)

>>>MOAR

JIRA`s blocking does not really block issues

image

We thought that linking JIRA issue as blocking another one is really blocking from closing this another one. It`s obviously that blocked task cannot be resolved before blocking task is resolved, yep? But by default there is no functionality in JIRA to process blocking issues. Link statuses like is blocked by or blocks are just usual issue field value.

I can help you to solve this problem. It could be easy done with ScriptRunner for JIRA.

>>>MOAR

Backup your volumes from docker-compose.yml

docker-compose is a great thing to deploy your services. It`s a new tool for, so maybe I am wrong, but I cannot find any usable solution to backup volumes from my services… Of course, I can do it manually, but it sucks :)

>>>MOAR

gnutls_handshake() failed. An unexpected TLS packet was received

One day I got this error in our job on Jenkins server:

plugins.git.GitException: Failed to fetch from <our-repo-server>.git
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:817)
	at hudson.plugins.git.GitSCM.retrieveChanges(GitSCM.java:1084)
	at hudson.plugins.git.GitSCM.checkout(GitSCM.java:1115)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep.checkout(SCMStep.java:113)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:85)
	at org.jenkinsci.plugins.workflow.steps.scm.SCMStep$StepExecutionImpl.run(SCMStep.java:75)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
	at hudson.security.ACL.impersonate(ACL.java:260)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
Caused by: hudson.plugins.git.GitException: Command "git fetch --no-tags --progress <our-repo-server>.git +refs/pull-requests/62/from:refs/remotes/origin/PR-62" returned status code 128:
stdout: 
stderr: fatal: unable to access '<our-repo-server>.git/': gnutls_handshake() failed: An unexpected TLS packet was received.

	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandIn(CliGitAPIImpl.java:1924)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.launchCommandWithCredentials(CliGitAPIImpl.java:1643)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl.access$300(CliGitAPIImpl.java:71)
	at org.jenkinsci.plugins.gitclient.CliGitAPIImpl$1.execute(CliGitAPIImpl.java:352)
	at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:815)
	... 13 more

How to fix it?

>>>MOAR

Updating Jenkins Plugins With Pipeline

Question

Do you ever notice that Jenkins plugins versions are being updatedso fast? It`s either good or bad: good, because we`ve got new features and bugfixes so often; bad, because we often need to update them manually. :)

But we can automate plugins update procedure with Jenkins cool pipeline! I write an example Jenkinsfile using magic of shell and groovy:

>>>MOAR

© Maksim Melnikov, 2015-2019.
Made with Jekyll and GitHub.