python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
env variable as defaultValue in Jenkinsfile
pipline{
agent any
environment{
GIT_HASH = "${GIT_COMMIT.substring(0, 7)}"
}
parameters{
string(
name: ...

Mukund Ranjan
Votes: 0
Answers: 0
Is it possible to have multiple trigger options in jenkinsfile (cron , pollSCM , upstream)?
I read the article here : https://www.jenkins.io/doc/book/pipeline/syntax/#triggers
but didn't find information to my q.
Is it possible to have something like this ?
triggers {
upstream(upstreamPr...

Spartacus
Votes: 0
Answers: 1
Jenkinsfile - Copy from Stage's Steps's Container to another Container
I want to copy file which is created in one container to another in Jenkinsfile.
stage('BUILD:') {
stages {
stage('First Stage') {
container('firstcontainer') {
...
Vishwanath Joshi
Votes: 0
Answers: 1
List GitHub Branches Dynamically In Jenkins Jobs
I'm working with jenkins 2.249.3 and active choices plugin - version 2.5.1
I'm trying to create an interactive job that allows users to select a git branch from which they will deploy the product.
I f...

NZL
Votes: 0
Answers: 1