Skip to content
Failed

Console Output

Started by user DIM Build
Building in workspace /var/jenkins_home/workspace/DIM-Diamant-Keycloak
using credential jenkins_gitlab
Cloning the remote Git repository
Cloning repository https://gitlab.com/datainmotion/diamant/infrastructure.git
 > git init /var/jenkins_home/workspace/DIM-Diamant-Keycloak # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/diamant/infrastructure.git
 > git --version # timeout=10
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/datainmotion/diamant/infrastructure.git +refs/heads/*:refs/remotes/origin/*
 > git config remote.origin.url https://gitlab.com/datainmotion/diamant/infrastructure.git # timeout=10
 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10
 > git config remote.origin.url https://gitlab.com/datainmotion/diamant/infrastructure.git # timeout=10
Fetching upstream changes from https://gitlab.com/datainmotion/diamant/infrastructure.git
using GIT_ASKPASS to set credentials The Gitlab user for the jenkins
 > git fetch --tags --progress https://gitlab.com/datainmotion/diamant/infrastructure.git +refs/heads/*:refs/remotes/origin/*
 > git rev-parse refs/remotes/origin/develop^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/develop^{commit} # timeout=10
Checking out Revision 3a3f7a7681703a451e1a7bdbea3dee5b966c8d8e (refs/remotes/origin/develop)
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 3a3f7a7681703a451e1a7bdbea3dee5b966c8d8e
Commit message: "- project"
First time build. Skipping changelog.
Docker Build
Docker Build: building image at path /var/jenkins_home/workspace/DIM-Diamant-Keycloak/de.dim.diamant.keycloak
Step 1/10 : FROM jboss/keycloak


 ---> a558a644d715

Step 2/10 : ENV KEYCLOAK_USER dim


 ---> Running in bea5aa56f2a5

Removing intermediate container bea5aa56f2a5

 ---> 86c225d57a20

Step 3/10 : ENV KEYCLOAK_PASSWORD dimAdmin


 ---> Running in 2f8de5888d94

Removing intermediate container 2f8de5888d94

 ---> 79af9cdd52ab

Step 4/10 : ENV KEYCLOAK_IMPORT /diamant/realm-diamant.json


 ---> Running in 3ef487d05983

Removing intermediate container 3ef487d05983

 ---> a28dadb64daf

Step 5/10 : USER root


 ---> Running in 95d6b400213b

Removing intermediate container 95d6b400213b

 ---> 0fbb4191e0b9

Step 6/10 : RUN mkdir -p /opt/jboss/keycloak/themes/diamant && mkdir -p /diamant


 ---> Running in 6d1e0467b44a

Removing intermediate container 6d1e0467b44a

 ---> d82d50ad9933

Step 7/10 : COPY ./theme /opt/jboss/keycloak/themes/diamant


 ---> a0f3cbf4eb6a

Step 8/10 : COPY ./realm/realm-diamant.json /diamant


 ---> 5434398ed064

Step 9/10 : ENTRYPOINT [ "/opt/jboss/tools/docker-entrypoint.sh" ]


 ---> Running in ec57817e94fd

Removing intermediate container ec57817e94fd

 ---> a0faf4d60f8d

Step 10/10 : CMD ["-b", "0.0.0.0"]


 ---> Running in 227a8730ea62

Removing intermediate container 227a8730ea62

 ---> 37b6d81aba81

Successfully built 37b6d81aba81

Tagging built image with devel.data-in-motion.biz:6000/dim/diamantKeycloak:1
ERROR: Build step failed with exception
com.github.dockerjava.api.exception.InternalServerErrorException: {"message":"invalid reference format: repository name must be lowercase"}

	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:109)
	at com.github.dockerjava.netty.handler.HttpResponseHandler.channelRead0(HttpResponseHandler.java:33)
	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.handler.logging.LoggingHandler.channelRead(LoggingHandler.java:241)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:438)
	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:310)
	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:284)
	at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:253)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:340)
	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1334)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:362)
	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:348)
	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:926)
	at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:997)
	at io.netty.channel.epoll.EpollDomainSocketChannel$EpollDomainUnsafe.epollInReady(EpollDomainSocketChannel.java:138)
	at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:401)
	at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:306)
	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:858)
	at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:138)
	at java.lang.Thread.run(Thread.java:748)
Build step 'Build / Publish Docker Image' marked build as failure
Finished: FAILURE