Group,

  This has been nagging issue for me for almost 2 weeks before i stumbled 
on this forum.

  Currently getting the error below in Jenkins when running a jenkins 
pipeline job that is used for template validation.

  Jenkins is able to check out the git repo from gitlab but that is all 
valuable information that reported on the GitLab Console.

  The Pipeline uses the version for Jenkins, Gitlab and GitLab plugins 
below.

  Jenkins 2.164.3
  GitLab  Community Edition 11.3.0
  GitLab Plugin 1.15.12..

   The pipeline was working before the jenkins master was updated, after 
which the jobs only checks out the git repo in gitlab then fails.

   Summary error from Blue Ocean plugins org.gitlab.api.GitlabAPIException: 
{"message":"403 Forbidden - Your account has been blocked."}

   The full error from Jenkins console below

using credential 4fbca7e7-0419-4c0v-8898-111111c46a6a
 > git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > git config remote.origin.url g...@gitlab.zzzzz.xxx::Sxxxxx/cff-pipes.git # 
 > timeout=10
Fetching upstream changes from g...@gitlab.zzzzz.xxx::SecDev/cff-pipes.git
 > git --version # timeout=10
using GIT_SSH to set credentials git
 > git fetch --tags --progress g...@gitlab.zzzzz.xxx:Sxxxx/cff-pipes.git 
 > +refs/heads/*:refs/remotes/origin/*
Checking out Revision 2572a10bb1004ecde1bda9cba620c456de80d953 
(refs/remotes/origin/master)
 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10
 > git rev-parse refs/remotes/origin/origin/master^{commit} # timeout=10
 > git config core.sparsecheckout # timeout=10
 > git checkout -f 2572a10bb1004ecde1bda9cba620c456de80d953
Commit message: "Update NewProjecte"[Pipeline] }[Pipeline] // stage[Pipeline] 
withEnv 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 { 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 stage 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 { (Create Project) 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 script 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 { 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 configFileProvider 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>provisioning
 config files...
copy managed file [cfSettings] to 
file:/home/workspace/Cxxxxxxx/Create%20Cxxxxxxx%20Pxxxxxx@tmp/config7454802779566034260tmp[Pipeline]
 { 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 readJSON 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 withCredentials 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>Masking
 only exact matches of $token[Pipeline] { 
<https://jenkins.tceh.net/view/CloudFormation%20Pipeline/job/CloudFormation/job/Create%20CloudFormation%20Project/109/console#>[Pipeline]
 }[Pipeline] }Deleting 1 temporary files[Pipeline] }[Pipeline] // 
script[Pipeline] }[Pipeline] // stage[Pipeline] }[Pipeline] // 
withEnv[Pipeline] }[Pipeline] // node[Pipeline] End of Pipelinean exception 
which occurred:
        in field 
org.jenkinsci.plugins.pipeline.modeldefinition.withscript.WithScriptScript.script
        in object 
org.jenkinsci.plugins.pipeline.modeldefinition.agent.impl.LabelScript@3f4586c
        in field groovy.lang.Closure.delegate
        in object org.jenkinsci.plugins.workflow.cps.CpsClosure2@432f2514
        in field groovy.lang.Closure.delegate
        in object org.jenkinsci.plugins.workflow.cps.CpsClosure2@d228ce
        in field org.jenkinsci.plugins.workflow.cps.CpsThreadGroup.closures
        in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@27ace6e3
        in object org.jenkinsci.plugins.workflow.cps.CpsThreadGroup@27ace6e3
Caused: java.io.NotSerializableException: org.gitlab.api.GitlabAPI
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:926)
        at 
org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:65)
        at 
org.jboss.marshalling.river.BlockMarshaller.writeObject(BlockMarshaller.java:56)
        at 
org.jboss.marshalling.MarshallerObjectOutputStream.writeObjectOverride(MarshallerObjectOutputStream.java:50)
        at 
org.jboss.marshalling.river.RiverObjectOutputStream.writeObjectOverride(RiverObjectOutputStream.java:179)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
        at java.util.LinkedHashMap.internalWriteEntries(LinkedHashMap.java:333)
        at java.util.HashMap.writeObject(HashMap.java:1363)
        at sun.reflect.GeneratedMethodAccessor1147.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.jboss.marshalling.reflect.JDKSpecific$SerMethods.callWriteObject(JDKSpecific.java:156)
        at 
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:191)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1028)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:920)
        at 
org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:65)
        at 
org.jboss.marshalling.river.BlockMarshaller.writeObject(BlockMarshaller.java:56)
        at 
org.jboss.marshalling.MarshallerObjectOutputStream.writeObjectOverride(MarshallerObjectOutputStream.java:50)
        at 
org.jboss.marshalling.river.RiverObjectOutputStream.writeObjectOverride(RiverObjectOutputStream.java:179)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
        at 
com.cloudbees.groovy.cps.SerializableScript.writeObject(SerializableScript.java:26)
        at sun.reflect.GeneratedMethodAccessor1164.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at 
org.jboss.marshalling.reflect.JDKSpecific$SerMethods.callWriteObject(JDKSpecific.java:156)
        at 
org.jboss.marshalling.reflect.SerializableClass.callWriteObject(SerializableClass.java:191)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1028)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteSerializableObject(RiverMarshaller.java:1019)
        at 
org.jboss.marshalling.river.RiverMarshaller.doWriteObject(RiverMarshaller.java:920)
        at 
org.jboss.marshalling.river.BlockMarshaller.doWriteObject(BlockMarshaller.java:65)
        at 
org.jboss.marshalling.river.BlockMarshaller.writeObject(BlockMarshaller.java:56)
        at 
org.jboss.marshalling.MarshallerObjectOutputStream.writeObjectOverride(MarshallerObjectOutputStream.java:50)
        at 
org.jboss.marshalling.river.RiverObjectOutputStream.writeObjectOverride(RiverObjectOutputStream.java:179)
        at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344)
        at java.util.LinkedHashMap.internalWriteEntries(LinkedHashMap.java:333)
        at java.util.HashMap.writeObject(HashMap.java:1363)
        at sun.reflect.GeneratedMethodAccessor1147.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)


   

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/c419e3a9-91cd-4fda-9803-8bf3f3941628%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to