Questions tagged [jenkins-multibranch]

23 questions
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
  • 8
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
  • 3
0
votes
0 answers

How to send jenkins stage view in email?

We can send email noification whether success or failure in email of jenkins pipeline. But it is not visual to understand clearly by the team members. So, I kept stage name in an environment variable and kept in the email subject where exactly it…
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"];…
0
votes
1 answer

Jenkins - Run job if other multiple jobs are successful

How can I start a job if all 3 other jobs are successful? Here is the scenario: job1 - build module 1 job2 - build module 2 job3 - build module 3 job4 - main program Run job4 (main program) if all modules build are successful (Job 1,2 and 3) so the…
user630702
  • 465
  • 6
  • 25
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,383
  • 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…
0
votes
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
  • 381
  • 3
  • 16
1
2