Questions tagged [jenkins-multibranch]
24 questions
1
vote
1 answer
How to resolve : HttpInput idle timeout error in Jenkin
While i am trying to update the branch name in "Branches to build section", i am getting following error :
Also: java.lang.Throwable: HttpInput idle timeout
at org.eclipse.jetty.server.HttpInput.onIdleTimeout(HttpInput.java:802)
at…

Sreeraju V
- 501
- 4
- 17
0
votes
1 answer
Jenkins unable to get ssh-agent to work, looks for a missing askpass_*.sh file
I installed the ssh-agent before and had everything working nicely with an ssh key that has all the proper permissions for cloning repos from a github project, but now after setting up another instance of Jenkins (as closely as I could, I didn't…

Silfheed
- 168
- 3
- 13
0
votes
1 answer
jenkins multiproject environment fails running same code as regular job
here are the contents of the Jenkinsfile:
node {
git branch: '$BRANCH_NAME', credentialsId: 'IDIDID', url: 'git@bitbucket.org:SOMEPLACE.git'
sh '''printenv
ls
pwd
cd somedir
virtualenv tmp
source tmp/bin/activate
pip install -e .
pip install…

Gil Zellner
- 183
- 1
- 8
0
votes
0 answers
jenkins multibranch - why jenkinsfile checkout only main
I have seen a multibranch example : https://devopscube.com/jenkins-multibranch-pipeline-tutorial/?unapproved=49471&moderation-hash=53d25ad46b16419cf56ed585dbf9d693#comment-49471
Why the jenkinsfile checkout only the main branch? I would expect that…
0
votes
1 answer
Jenkins groovy Pipline code is stop working with Docker Build steps
Jenkins was working fine after update stopped working and I roll back manually from latest version to previous and remove the plugins from Plugin Folder and install again as per the requirements:
Jenkins Version: 2.346.2
Note: Jenkins is running on…
0
votes
0 answers
Jenkins Multibranch pipeline organisation folder with JCasC not Initialising at startup - Requires "Save" through UI
I am configuring Jenkins 2.332.3 with JCasC and the Multibranch pipeline. The pipeline is generally OK but it requires that we click This folder is empty | Configure the Project and then Save for it to recognise any jobs when the jenkins instance…

Banoona
- 103
- 4
0
votes
1 answer
Pass variable value from one build step to other in jenkins job
I want to pass variable value from one build step that is from 'execute shell' to 'send files or execute commands over SSH"
my script in Execute shell* is:
if [ "$var" == "1"]; then
package="newpackage"
fi
if [ "$var" == "2"];…

newtodevops
- 1
- 1
- 2
0
votes
1 answer
Set scoped environment variables for Jenkins pipeline from Jenkins, not from the Jenkinsfile
Is there some way intended to store non-sensitive data in Jenkins scoped to a build configuration so it can be read from a pipeline script?
We're migrating to a new Octopus Deploy server, and our Jenkinsfile looks like this:
pipeline {
environment…

Stephen Jennings
- 1,393
- 3
- 23
- 30
0
votes
1 answer
Git pull a specific tag itself?
Because Jenkins pulls a git repo without tags, I'd like to pull the specific tag I'm interested in. Is there a syntax for this?
I'm aware of git syntaxes that pull all tags, and syntaxes that pull from tags. What I'm after is the pulling of a…

Dave Hildebrandt
- 1
- 1
- 2