[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-31 Thread whunz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 William Hunzicker edited a comment on  JENKINS-61463  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
 [~daspilker] read your documentation for cron and tried below, but that still fails with error ERROR: (unknown source) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.gitlabPush() is applicable for argument types: (DSLLegacyStaticPipelines$_run_closure7$_closure55$_closure61$_closure62$_closure63) values: [DSLLegacyStaticPipelines$_run_closure7$_closure55$_closure61$_closure62$_closure63@3153d47c]Finished: FAILUREproperties { properties {        pipelineTriggers {           triggers {           gitlabPush {           spec(triggerOnPush : true,       triggerToBranchDeleteRequest : false,       triggerOnMergeRequest : false,        triggerOnlyIfNewCommitsPushed : false,         triggerOnAcceptedMergeRequest : false,         triggerOnClosedMergeRequest : false,        triggerOpenMergeRequestOnPush : 'never',       triggerOnNoteRequest : false,        noteRegex : "",       skipWorkInProgressMergeRequest : true,       ciSkip : true,        labelsThatForcesBuildIfAdded : "",       setBuildDescription : true,       addNoteOnMergeRequest  : false,        addCiMessage : false,        addVoteOnMergeRequest : false,        acceptMergeRequestOnSuccess : false,        branchFilterType : 'ALL',        includeBranchesSpec : "",        excludeBranchesSpec : "",        sourceBranchRegex : "",       targetBranchRegex : "",        mergeRequestLabelFilterConfig : null,       secretToken : "",        triggerOnPipelineEvent : false,       triggerOnApprovedMergeRequest : false,       pendingBuildName : "",        cancelPendingBuildsOnUpdate : false)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-31 Thread whunz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 William Hunzicker commented on  JENKINS-61463  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
 Daniel Spilker read your documentation for cron and tried below, but that still fails with error  ERROR: (unknown source) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.gitlabPush() is applicable for argument types: (DSLLegacyStaticPipelines$_run_closure7$_closure55$_closure61$_closure62$_closure63) values: [DSLLegacyStaticPipelines$_run_closure7$_closure55$_closure61$_closure62$_closure63@3153d47c] Finished: FAILURE properties {properties {        pipelineTriggers {            triggers {            gitlabPush {            spec(triggerOnPush : true,        triggerToBranchDeleteRequest : false,        triggerOnMergeRequest : false,         triggerOnlyIfNewCommitsPushed : false,          triggerOnAcceptedMergeRequest : false,          triggerOnClosedMergeRequest : false,         triggerOpenMergeRequestOnPush : 'never',        triggerOnNoteRequest : false,         noteRegex : "",        skipWorkInProgressMergeRequest : true,        ciSkip : true,        labelsThatForcesBuildIfAdded : "",        setBuildDescription : true,        addNoteOnMergeRequest  : false,         addCiMessage : false,         addVoteOnMergeRequest : false,         acceptMergeRequestOnSuccess : false,         branchFilterType : 'ALL',        includeBranchesSpec : "",         excludeBranchesSpec : "",        sourceBranchRegex : "",        targetBranchRegex : "",        mergeRequestLabelFilterConfig : null,        secretToken : "",        triggerOnPipelineEvent : false,        triggerOnApprovedMergeRequest : false,        pendingBuildName : "",        cancelPendingBuildsOnUpdate : false)  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  

[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-31 Thread whunz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 William Hunzicker edited a comment on  JENKINS-61463  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
 [~daspilker] can you document how the GitLabPushTrigger works? Thanks, William I used to do gitlabPush { buildOnMergeRequestEvents(false) buildOnPushEvents(true) enableCiSkip(false) setBuildDescription(true) rebuildOpenMergeRequest('never') commentTrigger('Jenkins please retry a build') skipWorkInProgressMergeRequest(true) }  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205143.1584040851000.3741.1585673400196%40Atlassian.JIRA.


[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-31 Thread whunz...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 William Hunzicker commented on  JENKINS-61463  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
 Daniel Spilker can you document how the GitLabPushTrigger works? Thanks, William  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205143.1584040851000.3737.1585673280349%40Atlassian.JIRA.


[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-16 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61463  
 
 
  PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
 I opened a PR to improve the documentation: https://github.com/jenkinsci/job-dsl-plugin/pull/1220  
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Priority: 
 Major Minor  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205143.1584040851000.8178.1584386640307%40Atlassian.JIRA.


[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-16 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker started work on  JENKINS-61463  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205143.1584040851000.8180.1584386640337%40Atlassian.JIRA.


[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-13 Thread alan.l.spa...@microfocus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alan Sparks updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61463  
 
 
  PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
Change By: 
 Alan Sparks  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-issues/JIRA.205143.1584040851000.6863.1584118620234%40Atlassian.JIRA.


[JIRA] (JENKINS-61463) PipelineJob trigger deprecation, migration error

2020-03-12 Thread alan.l.spa...@microfocus.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alan Sparks created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-61463  
 
 
  PipelineJob trigger deprecation, migration error   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Daniel Spilker  
 
 
Components: 
 job-dsl-plugin  
 
 
Created: 
 2020-03-12 19:20  
 
 
Environment: 
 Jenkins LTS 2.204.5, job-dsl-plugin 1.77, pipeline job 2.37  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Alan Sparks  
 

  
 
 
 
 

 
 Migration page for 1.77 deprecates pipeline trigger, so trying to migrate to new syntax.  Change my jobs from: triggers  {   cron('@daily') } To: properties { pipelineTriggers { triggers  { cron('@daily') }  } } DSL processing now fails with: 13:02:42 ERROR: (fullbyacct.groovy, line 8) No signature of method: javaposse.jobdsl.plugin.structs.DescribableListContext.cron() is applicable for argument types: (java.lang.String) values: [@daily] 13:02:42 Possible solutions: grep(), print(java.io.PrintWriter), print(java.lang.Object), grep(java.lang.Object), wait(), find() Am I missing something?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment