Giter Club home page Giter Club logo

solita-cd's Introduction

Solita CD Tools

This is a collection of Continuous Delivery tools and documentation built by Solita.

Documentation

Full documentation is available on Read the Docs.

Cloning the Project

This repository contains several tools as Git submodules. To clone all of them, you need to pass the --recursive switch to git clone:

git clone --recursive https://github.com/solita/solita-cd.git

solita-cd's People

Contributors

mikkosuonio avatar sirkkalap avatar solita-timo-mihaljov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

kelvinliu168

solita-cd's Issues

"job-dsl" directory name clashes with jenkins-cli.jar plugin installation

The docs instruct using job-dsl directory:

http://solita-cd.readthedocs.org/en/latest/solita.jenkins.html#jobs-and-views

However, it seems jenkins-cli.jar used by geerlingguy.jenkins role uses the job-dsl plugin name as a temporary filename, resulting in an exception:

TASK: [geerlingguy.jenkins | Install Jenkins plugins.] ************************
failed: [vagrant] => (item=job-dsl) => {"changed": true, "cmd": ["java", "-jar", "/opt/jenkins-cli.jar", "-s", "http://localhost:8080/", "install-plugin", "job-dsl"], "delta": "0:00:02.031533", "end": "2016-01-25 12:59:11.825503", "item": "job-dsl", "rc": 255, "start": "2016-01-25 12:59:09.793970", "warnings": []}
stderr: Unexpected exception occurred while performing install-plugin command!
java.io.IOException: Failed to copy job-dsl to /var/lib/jenkins/plugins/job-dsl.jpi
        at hudson.FilePath.copyTo(FilePath.java:1990)
        at hudson.cli.InstallPluginCommand.run(InstallPluginCommand.java:85)
        at hudson.cli.CLICommand.main(CLICommand.java:238)
        at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at hudson.remoting.RemoteInvocationHandler$RPCRequest.perform(RemoteInvocationHandler.java:608)
        at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:583)
        at hudson.remoting.RemoteInvocationHandler$RPCRequest.call(RemoteInvocationHandler.java:542)
        at hudson.remoting.UserRequest.perform(UserRequest.java:120)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:326)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at hudson.cli.CliManagerImpl$1.call(CliManagerImpl.java:63)
        at hudson.remoting.CallableDecoratorAdapter.call(CallableDecoratorAdapter.java:18)
        at hudson.remoting.CallableDecoratorList$1.call(CallableDecoratorList.java:21)
        at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.io.IOException: remote file operation failed: job-dsl at hudson.remoting.Channel@34455f88:CLI channel from /127.0.0.1: java.io.FileNotFoundException: job-dsl (Is a directory)
        at hudson.FilePath.act(FilePath.java:986)
        at hudson.FilePath.act(FilePath.java:968)
        at hudson.FilePath.copyTo(FilePath.java:2011)
        at hudson.FilePath.copyTo(FilePath.java:1985)
        ... 22 more
Caused by: java.io.FileNotFoundException: job-dsl (Is a directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:146)
        at hudson.FilePath$41.invoke(FilePath.java:2016)
        at hudson.FilePath$41.invoke(FilePath.java:2011)
        at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2719)
        at hudson.remoting.UserRequest.perform(UserRequest.java:120)
        at hudson.remoting.UserRequest.perform(UserRequest.java:48)
        at hudson.remoting.Request$2.run(Request.java:326)
        at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:745)
        at ......remote call to CLI channel from /127.0.0.1(Native Method)
        at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1416)
        at hudson.remoting.UserResponse.retrieve(UserRequest.java:220)
        at hudson.remoting.Channel.call(Channel.java:781)
        at hudson.FilePath.act(FilePath.java:979)
        ... 25 more
stdout: Installing a plugin from local file: job-dsl

As a result, /var/lib/jenkins/plugins/job-dsl.jpi ends up being an empty file, and the plugin installation request is ignored on further runs.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.