thank you
but i got again another error

+ ssh -o StrictHostKeyChecking=no ubuntu@172.31.2.250 sudo docker rm
-f javawebappcontainer
Warning: Permanently added '172.31.2.250' (ECDSA) to the list of known
hosts.ubuntu@172.31.2.250: Permission denied (publickey).
+ true[Pipeline] sh
<http://18.217.55.199:8080/job/java-web-app-docker/17/console#>+ ssh
-o StrictHostKeyChecking=no ubuntu@172.31.2.250 sudo docker run -d -p
8080:8080 --name javawebappcontainer
bhaskar77/java-web-app-docker:17ubuntu@172.31.2.250: Permission denied
(publickey).[Pipeline] }$ ssh-agent -k
unset SSH_AUTH_SOCK;
unset SSH_AGENT_PID;
echo Agent pid 9444 killed;
[ssh-agent] Stopped.[Pipeline] // sshagent[Pipeline] }[Pipeline] //
stage[Pipeline] }[Pipeline] // node[Pipeline] End of PipelineERROR:
script returned exit code 255
Finished: FAILURE


On Sat, 1 Jan 2022 at 23:08, Mark Waite <mark.earl.wa...@gmail.com> wrote:

>
>
> On Saturday, January 1, 2022 at 10:35:59 AM UTC-7 you wrote:
>
>> im getting error
>>
>> java.lang.NoSuchMethodError: No such DSL method 'Stage' found among steps
>> []
>>
>
> If you're trying to use define a Pipeline stage, the keyword is 'stage',
> not 'Stage'.  As far as I know, the domain specific language keywords are
> case sensitive.
>
> Mark Waite
>
> --
> 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 jenkinsci-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/ffd3154a-d75d-4423-a741-16a34af41c41n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/ffd3154a-d75d-4423-a741-16a34af41c41n%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 jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/CAO54OntC8UBjXL0xXjfQqza2nppCEv4D26XFeLPBwHMNgPt5xQ%40mail.gmail.com.

Reply via email to