Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cbi-dev] JIPP docker: command not found

Hi Jakub,

Unfortunately, we currently don't provide Docker on JIPP. I see that you're using "maven:3-alpine", so I guess it will be good enough to use a maven step. If the maven pipeline plugin is not install on n4js, please open a bug on Community > CI-Jenkins ( and we will do that for you.


Mikaël Barbero - Eclipse Foundation
IT Services - Release Engineering
📱 (+33) 642 028 039
🐦 @mikbarbero

Le 11 avr. 2018 à 10:27, Jakub Siberski <jakub.siberski@xxxxxxxxx> a écrit :


I am setting up build jobs for N4JS project using our JIPP:

We want to use Jenkins Pipeline + Docker, but it seems that docker is not available?

I have small job with Jenkinsfile (inlined in config):
pipeline {
    agent {
        docker {
            image 'maven:3-alpine'
            args '-v $HOME/.m2:/root/.m2'
    stages {
        stage('Preparation') {
            steps {
                git ''
        stage('Build') {
             steps {
                    sh "mvn -Dmaven.test.failure.ignore clean package"
        stage('Results') {
             steps {
                junit '**/target/surefire-reports/TEST-*.xml'
                archive 'target/*.jar'

running this on JIPP fails :
Started by user jakub.siberski@xxxxxxxxx
Running in Durability level: MAX_SURVIVABILITY
[Pipeline] node
Running on Jenkins in /home/hudson/genie.n4js/.jenkins/jobs/wip/workspace
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Agent Setup)
[Pipeline] sh
[workspace] Running shell script
+ docker pull maven:3-alpine
/home/hudson/genie.n4js/.jenkins/jobs/wip/workspace@tmp/durable-40a6d622/ line 2: docker: command not found
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 127
Finished: FAILURE

I had impression that docker is available as part of the pipeline workflow
as mentions:
  • docker-commons
  • docker-workflow

So, in short:
Does docker needs to be requested as extra tool,
or am I approaching this the wrong way?


cbi-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit

Attachment: signature.asc
Description: Message signed with OpenPGP

Back to the top