alternatively, you can write your all stages inside a filename.groovy file,
and load it in the Jenkinsfile; where you would check for a parameter value
for only once
On Thu, Oct 13, 2022 at 8:57 AM pooja pooja wrote:
> Hi,
> while deploying manually by using gitlab/github credentials code was
>
Hi,
while deploying manually by using gitlab/github credentials code was
deployed correctly,
whenever am using jenkins pipeline credentials taking properly but code was
no deploying on server
Error:fatal : could not read username for 'https://github.com': no such
device or address
On Wed, Oct 12,
Hi Umesh,
Hope below syntax works. but you need to add this to all stages.
stage ('Stage1') {
when { environment name: 'ENV_VARIABLE'}
steps {
echo "Start Stage1"
}
}
Thanks
*Chetan B*
On Wed, Oct 12, 2022 at 2:41 PM Umesha A wrote:
> Hi
>
>Is it possible to skip al
Hi
Is it possible to skip all stages of a declarative pipeline if a
parameter value is not set ?
Appreciate any pointers and help.
Thanks & Regards,
Umesh
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and
I tried above videos and whatever suggestion avaialable in google but
still am getting same issue
On Wed, Oct 12, 2022, 2:22 PM Iván Fernández Calvo
wrote:
> You do not pass any credentials around the script in the pipeline,
> So the command “git pull” failed because does not have a way to
> au
You do not pass any credentials around the script in the pipeline,So the command “git pull” failed because does not have a way to authenticate. Check the article and the video of my previous message, there is explained how to pass credentials to your script.El 12 oct 2022, a las 8:13, pooja pooja