Thanks!

We can continue on this line!


On 08/09/2018 02:10 PM, John McDonnell wrote:
Sorry for the spam, pressed send a little to early...

The pipeline looks like:

node('H29') {
    stage('Clone Sources') {
        git branch: 'release90', url: 'https://github.com/apache/incubator-netbeans.git'
    }
    stage ('Build Snap Package') {
        sh 'cd nbbuild/packaging/ && snapcraft'
    }
}

Ideally, we could make this a multibranch pipeline moving forward so we don't care about the specific branch and maybe even could hook most of the rest of the release process into a pipeline and store the job config in our source code.


On Thu, 9 Aug 2018 at 22:08, John McDonnell <[email protected] <mailto:[email protected]>> wrote:

    I created a Jenkins job with a Jenkins pipeline:

    
https://builds.apache.org/view/Incubator%20Projects/job/incubator-netbeans-snap-packages/

    I ran it and it returned an error:

    
/home/jenkins/jenkins-slave/workspace/incubator-netbeans-snap-packages@tmp/durable-8c39f48a/script.sh:
 line 2: snapcraft: command not found

    Regards

    John



    On Thu, 9 Aug 2018 at 09:05, John McDonnell
    <[email protected] <mailto:[email protected]>> wrote:

        @Laszlo Kishalmi <mailto:[email protected]>

        If write a Jenkinsfile and commit it, then the Jenkins Job
        properties are yours to adjust at any time, and the
        jenkins job will update accordingly. We just need to create a
        pipeline job and point it to the Jenkinsfile.


        Regards

        John



        On Tue, 7 Aug 2018 at 22:48, Laszlo Kishalmi
        <[email protected] <mailto:[email protected]>>
        wrote:

            Just made the Subject more descriptive.


            On 08/07/2018 01:22 PM, Laszlo Kishalmi wrote:
            >
            > Hi there!
            >
            > I need a bit of Jenkins help. We are preparing the Apache
            > infrastructure to be able to build a Snap package out of
            our code.
            > (https://issues.apache.org/jira/browse/INFRA-16728)
            >
            > I would need somebody who can configure a simple job for
            test purposes
            > on Apache Jenkins Grid.
            >
            > The job details:
            >
            >  1. Please tie it to node: H29
            >  2. Clone the netbeans git repository
            >  3. Use the release90 branch
            >  4. There shall be a shell build step:
            >     cd nbbuild/packaging/ && snapcraft
            >
            > That's all.
            >
            >
            > Thanks!
            >


Reply via email to