Re: How can I test my plugin in pipeline?

2023-11-16 Thread 'Jesse Glick' via Jenkins Developers
In other words, write some basic tests using JenkinsRule first. If you then
want to test interactively to check UI and so on, use

mvn hpi:run

Since the relevant Pipeline plugins (minimally `workflow-job` +
`workflow-cps`, usually also `workflow-basic-steps` +
`workflow-durable-task-step`, occasionally others) will already be present
as `test`-scoped dependencies, appropriate compatible versions of these
will already be loaded in the local test server.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr04SKY6_AqWZSv2ogMY4uJ%2BU7B8P%3Dd6WV_K8xFCffe46A%40mail.gmail.com.


Re: How can I test my plugin in pipeline?

2023-11-16 Thread 'Jesse Glick' via Jenkins Developers
On Thu, Nov 16, 2023 at 9:58 AM tzach solomon 
wrote:

> I want to test [my new plugin] in pipeline
>

https://github.com/jenkinsci/archetypes/blob/282d79c14f8453bdffe1c74d5010dfdcf776ed9f/hello-world/src/main/resources/archetype-resources/src/test/java/HelloWorldBuilderTest.java#L64-L74

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CANfRfr1ixSdEB8fZS7W0cbYutvDs%3DD%3DPxGoiUmAb5jnznSn-JA%40mail.gmail.com.


Re: How can I test my plugin in pipeline?

2023-11-16 Thread tzach solomon
Thank you Mark! :)

On Thu, Nov 16, 2023 at 5:07 PM Mark Waite 
wrote:

> The Hello World example assumes that the declarative Pipeline is
> installed.  If it is not installed, then you'll need to install it.
>
> On Thursday, November 16, 2023 at 7:58:09 AM UTC-7 tzach@gmail.com
> wrote:
>
>> Hi,
>>
>> I'm following the tutorial of creating a new plugin and I want to test it
>> in pipeline but beforehand I just wanted to check that pipeline job is
>> working OK, so I've created a new pipeline using the Hello World template
>> of pipeline script but it does not work OK.
>> What I'm seeing is this:
>>
>> Started by user unknown or anonymous[Pipeline] Start of Pipeline 
>> [Pipeline] End of 
>> PipelineFinished: SUCCESS
>>
>>
>> What am I missing?
>>
>> Thanks,
>> Tzach
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Jenkins Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-dev/36d5e6e9-ede4-490f-9500-15da22e2f472n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAC19wgKvyPQ4-D1j8Vc4V2Ac2R1SqhcK8R8%2BiZeXn%3Dhg-j6FQw%40mail.gmail.com.


Re: How can I test my plugin in pipeline?

2023-11-16 Thread Mark Waite
The Hello World example assumes that the declarative Pipeline is 
installed.  If it is not installed, then you'll need to install it.

On Thursday, November 16, 2023 at 7:58:09 AM UTC-7 tzach@gmail.com 
wrote:

> Hi,
>
> I'm following the tutorial of creating a new plugin and I want to test it 
> in pipeline but beforehand I just wanted to check that pipeline job is 
> working OK, so I've created a new pipeline using the Hello World template 
> of pipeline script but it does not work OK.
> What I'm seeing is this:
>
> Started by user unknown or anonymous[Pipeline] Start of Pipeline 
> [Pipeline] End of 
> PipelineFinished: SUCCESS
>
>
> What am I missing?
>
> Thanks,
> Tzach
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/36d5e6e9-ede4-490f-9500-15da22e2f472n%40googlegroups.com.


How can I test my plugin in pipeline?

2023-11-16 Thread tzach solomon
Hi,

I'm following the tutorial of creating a new plugin and I want to test it
in pipeline but beforehand I just wanted to check that pipeline job is
working OK, so I've created a new pipeline using the Hello World template
of pipeline script but it does not work OK.
What I'm seeing is this:

Started by user unknown or anonymous[Pipeline] Start of Pipeline
[Pipeline] End
of PipelineFinished: SUCCESS


What am I missing?

Thanks,
Tzach

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CAC19wgL%2BnuTb9AQ%3Dz7J5XXYROKV7bMqHPX1Z73r9x-uyqs_XrA%40mail.gmail.com.


Re: Jenkins 2.426.2 release lead

2023-11-16 Thread Mark Waite


On Wednesday, November 15, 2023 at 1:38:07 PM UTC-Kris Stern wrote:

Hi Mark,

I am interested.

Best,
Kris


That is super Kris.  Thanks for doing it. 

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/9683adc7-ba22-41bb-89cd-c51db55ae037n%40googlegroups.com.