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, 2022 at 3:23 PM Chetan <[email protected]> wrote:

> 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 <[email protected]> wrote:
>
>> 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 stop receiving emails from it, send an
>> email to [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/f28bf765-cbe7-4525-a2c2-68863debafcfn%40googlegroups.com
>> <https://groups.google.com/d/msgid/jenkinsci-users/f28bf765-cbe7-4525-a2c2-68863debafcfn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-4zypybqp3wruxPmZVb4nNUD-h6JF2CunXnJe6navesXg%40mail.gmail.com
> <https://groups.google.com/d/msgid/jenkinsci-users/CA%2B6q8-4zypybqp3wruxPmZVb4nNUD-h6JF2CunXnJe6navesXg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CANJUvtwW%2BnsF_3diFfEpmZaU5OnmXNyHdHoqu9Hgs7rJCxZqrw%40mail.gmail.com.

Reply via email to