#Jenkins Build

1 messages · Page 1 of 1 (latest)

simple saddle
#

Hey so I'm trying too setup a build with jenkins and the following exception is being thrown:

java.nio.charset.MalformedInputException: Input length = 1
    at java.base/java.lang.StringCoding.throwMalformed(StringCoding.java:707)
    at java.base/java.lang.StringCoding.decodeUTF8_0(StringCoding.java:894)
    at java.base/java.lang.StringCoding.newStringNoRepl1(StringCoding.java:1030)
    at java.base/java.lang.StringCoding.newStringNoRepl(StringCoding.java:1015)
    at java.base/java.lang.System$2.newStringNoRepl(System.java:2197)
    at java.base/java.nio.file.Files.readString(Files.java:3287)
    at hudson.FilePath$ReadToString.invoke(FilePath.java:2377)
    at hudson.FilePath$ReadToString.invoke(FilePath.java:2372)
    at hudson.FilePath.act(FilePath.java:1192)
    at hudson.FilePath.act(FilePath.java:1175)
    at hudson.FilePath.readToString(FilePath.java:2369)
    at org.jenkinsci.plugins.workflow.cps.CpsScmFlowDefinition.create(CpsScmFlowDefinition.java:188)
    at org.jenkinsci.plugins.workflow.multibranch.SCMBinder.create(SCMBinder.java:145)
    at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:312)
    at hudson.model.ResourceController.execute(ResourceController.java:101)
    at hudson.model.Executor.run(Executor.java:442)```
brave flaxBOT
#

<@&987246964494204979> please have a look, thanks.

brave flaxBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

simple saddle
#

Ik not specifically java but figured might be a good place to start given it's a java excep

#

I'm kinda led to believe its a text encoding issue but I'm p sure my Jenkinsfile is UTF-8 encoded and thats what excep seems to indicate its trying to read it off as

#

Jenkins file itself is just

pipeline {
    agent any
    stages {
        stage('build') {
            steps {
                sh 'echo henlo'
            }
        }
    }
}