-
Notifications
You must be signed in to change notification settings - Fork 267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
.NET Core pipeline #97
.NET Core pipeline #97
Conversation
b29d5de
to
5abb99c
Compare
@pabrahamsson I updated the repo var pointing to my fork to reference the cop repo instead. Will need to override the variable for a test build to succeed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Ansible playbook deploys on OCP 3.11 and fails on OCP 4.1.
The Jenkins ephemeral instance needs more resources as it is VERY unresponsive on all 3 clusters where I tested.
The Jenkins build fails to find the Jenkinsfile.
basic-dotnet-core/requirements.yml
Outdated
- name: openshift-applier | ||
scm: git | ||
src: https://github.com/redhat-cop/openshift-applier | ||
version: v2.1.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to 2.1.2 to support OCP 4.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated this
In general, all clusters I have worked on to date the Jenkins instances are resource-intensive and slow, which is why I am pushing people to use Tekton instead. |
@mathianasj @InfoSec812 I've confirmed that this works on 3.X clusters. Have either of you been able to run this successfully on 4.X? I see everything deployed -- but it doesn't appear that Jenkins spins up, so the pipeline itself doesn't actually deploy (tested on 4.2). I can dig into this a bit later -- just wanted to see where everyone else was at. |
4.x no longer spins up Jenkins when a pipeline build exists. It is now the responsibility of the user to create a Jenkins instance, is this something that should be included or added to the readme? |
Ah -- that is good to know. I think I've always just had a Jenkins running during testing so I hadn't noticed. But I definitely think adding a line to the README would be a good note for other users. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @mathianasj, this looks great.
I've tested successfully on 4.2 (with manual deploy of Jenkins).
What does this PR do?
I added a .NET Core pipeline sample
How should this be tested?
ansible-playbook -i ./.applier/ galaxy/openshift-applier/playbooks/openshift-cluster-seed.yml -e sb_source_repository_url=https://github.com/mathianasj/container-pipelines.git -e sb_source_repository_ref=dotnet-core-pipeline
PLAY RECAP *******************************************************************************************************************************************************************************************************************************************
localhost : ok=82 changed=6 unreachable=0 failed=0 skipped=124 rescued=0 ignored=0
Jenkins build output
OpenShift Build basic-dotnet-core-build/basic-dotnet-core-pipeline-3 from https://github.com/mathianasj/container-pipelines.git
Checking out git https://github.com/mathianasj/container-pipelines.git into /var/lib/jenkins/jobs/basic-dotnet-core-build/jobs/basic-dotnet-core-build-basic-dotnet-core-pipeline/workspace@script to read basic-dotnet-core/Jenkinsfile
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/mathianasj/container-pipelines.git
[Pipeline] node
Running on Jenkins in /var/lib/jenkins/jobs/basic-dotnet-core-build/jobs/basic-dotnet-core-build-basic-dotnet-core-pipeline/workspace
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
[Pipeline] readFile
[Pipeline] echo
Starting Pipeline for basic-dotnet-core...
[Pipeline] }
[Pipeline] // node
[Pipeline] node
Still waiting to schedule task
‘Jenkins’ doesn’t have label ‘dotnet-22’
Agent dotnet-22-5gr3t is provisioned from template Kubernetes Pod Template
Agent specification [Kubernetes Pod Template] (dotnet-22):
Running on dotnet-22-5gr3t in /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline
[Pipeline] {
[Pipeline] stage
[Pipeline] { (Declarative: Checkout SCM)
[Pipeline] checkout
No credentials specified
Cloning the remote Git repository
Cloning repository https://github.com/mathianasj/container-pipelines.git
dotnet publish -c Release /p:MicrosoftNETPlatformLibrary=Microsoft.NETCore.App
Microsoft (R) Build Engine version 15.9.20.63311 for .NET Core
Copyright (C) Microsoft Corporation. All rights reserved.
Restoring packages for /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/app.csproj...
Restoring packages for /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/app.csproj...
Installing System.Xml.XmlSerializer 4.0.11.
Installing System.Private.DataContractSerialization 4.1.1.
Installing System.Security.Principal 4.0.1.
Installing System.Threading.Overlapped 4.0.1.
Installing Microsoft.Win32.Registry 4.0.0.
Installing System.Dynamic.Runtime 4.0.11.
Installing System.Threading.Tasks.Extensions 4.0.0.
Installing System.Globalization.Extensions 4.0.1.
Installing System.Diagnostics.DiagnosticSource 4.0.0.
Installing System.Reflection.Emit 4.0.1.
Installing System.Reflection.Emit.Lightweight 4.0.1.
Installing System.Reflection.Emit.ILGeneration 4.0.1.
Installing System.Security.Cryptography.OpenSsl 4.0.0.
Installing runtime.native.System.Net.Http 4.0.1.
Installing System.Security.Cryptography.Csp 4.0.0.
Installing System.Security.Cryptography.Cng 4.2.0.
Installing Microsoft.VisualStudio.Web.CodeGeneration.Contracts 2.0.0.
Installing Microsoft.VisualStudio.Web.CodeGeneration.Tools 2.0.0.
Installing Microsoft.Extensions.FileProviders.Physical 2.0.0.
Installing Microsoft.NETCore.App 2.0.0.
Installing Microsoft.Build.Runtime 15.3.409.
Installing Newtonsoft.Json 10.0.1.
Installing NuGet.Frameworks 4.0.0.
Installing Microsoft.Extensions.FileSystemGlobbing 2.0.0.
Installing System.Linq 4.3.0.
Installing Microsoft.NETCore.DotNetHostPolicy 2.0.0.
Installing Microsoft.NETCore.Platforms 2.0.0.
Installing Microsoft.Extensions.FileProviders.Abstractions 2.0.0.
Installing NETStandard.Library 2.0.0.
Installing System.Threading 4.3.0.
Installing System.ObjectModel 4.3.0.
Installing System.Collections 4.3.0.
Installing System.Diagnostics.Debug 4.3.0.
Installing System.Resources.ResourceManager 4.3.0.
Installing System.Runtime.Extensions 4.3.0.
Installing System.Globalization 4.3.0.
Installing System.Reflection.Extensions 4.3.0.
Installing System.Dynamic.Runtime 4.3.0.
Installing System.Runtime.Serialization.Primitives 4.3.0.
Installing System.Threading.Tasks 4.3.0.
Installing System.Reflection 4.3.0.
Installing System.IO 4.3.0.
Installing System.Runtime.Numerics 4.3.0.
Installing System.Linq.Expressions 4.3.0.
Installing System.Xml.XmlDocument 4.3.0.
Installing Microsoft.CSharp 4.3.0.
Installing System.Xml.ReaderWriter 4.3.0.
Installing System.Xml.XDocument 4.3.0.
Installing System.ComponentModel.TypeConverter 4.3.0.
Installing runtime.native.System 4.0.0.
Installing System.Runtime 4.3.0.
Installing System.Text.RegularExpressions 4.3.0.
Installing runtime.native.System.IO.Compression 4.1.0.
Installing runtime.native.System.Security.Cryptography 4.0.0.
Installing System.Text.Encoding 4.3.0.
Installing System.Runtime.Serialization.Formatters 4.3.0.
Installing System.Text.Encoding.Extensions 4.3.0.
Installing NETStandard.Library 1.6.0.
Installing Microsoft.IdentityModel.Logging 1.1.4.
Installing System.Collections.Immutable 1.3.0.
Installing System.Xml.XmlDocument 4.0.1.
Installing Microsoft.IdentityModel.Tokens 5.1.4.
Installing System.Buffers 4.0.0.
Installing System.Reflection.Metadata 1.4.1.
Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.rhel.7-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.ubuntu.14.04-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.opensuse.42.1-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.fedora.24-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.opensuse.13.2-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing System.Text.Encoding.CodePages 4.0.1.
Installing Microsoft.Build.Framework 15.3.409.
Installing Microsoft.Build 15.3.409.
Installing Microsoft.Build.Tasks.Core 15.3.409.
Installing Microsoft.Build.Utilities.Core 15.3.409.
Installing Microsoft.Extensions.Primitives 2.0.0.
Installing Microsoft.NETCore.DotNetHostResolver 2.0.0.
Installing Microsoft.NETCore.Targets 1.1.0.
Installing Microsoft.NETCore.Platforms 1.1.0.
Installing System.Reflection.TypeExtensions 4.3.0.
Installing System.Reflection.Primitives 4.3.0.
Installing System.Reflection.Emit 4.3.0.
Installing System.Reflection.Emit.ILGeneration 4.3.0.
Installing System.Reflection.Emit.Lightweight 4.3.0.
Installing System.Runtime.InteropServices 4.3.0.
Installing System.IO.FileSystem 4.3.0.
Installing System.IO.FileSystem.Primitives 4.3.0.
Installing System.Threading.Tasks.Extensions 4.3.0.
Installing System.Diagnostics.Tools 4.3.0.
Installing System.Collections.NonGeneric 4.3.0.
Installing runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing System.Collections.Specialized 4.3.0.
Installing System.ComponentModel 4.3.0.
Installing Microsoft.NETCore.Targets 1.0.1.
Installing System.ComponentModel.Primitives 4.3.0.
Installing Microsoft.AspNetCore.All 2.0.0.
Installing Microsoft.AspNetCore 2.0.0.
Installing Microsoft.AspNetCore.Routing.Abstractions 2.0.0.
Installing Microsoft.NETCore.Platforms 1.0.1.
Installing System.IO.FileSystem.Primitives 4.0.1.
Installing System.Collections.Concurrent 4.0.12.
Installing Microsoft.Extensions.Caching.Abstractions 2.0.0.
Installing runtime.osx.10.10-x64.runtime.native.System.Security.Cryptography.Apple 4.3.0.
Installing System.IO.Compression.ZipFile 4.0.1.
Installing System.IO 4.1.0.
Installing Microsoft.Data.Edm 5.8.2.
Installing Microsoft.Extensions.Configuration.EnvironmentVariables 2.0.0.
Installing System.Diagnostics.Tools 4.0.1.
Installing System.Globalization.Calendars 4.0.1.
Installing Microsoft.Extensions.Configuration.FileExtensions 2.0.0.
Installing System.Threading.Timer 4.0.1.
Installing System.Console 4.0.0.
Installing Microsoft.AspNetCore.Server.Kestrel 2.0.0.
Installing System.Net.Sockets 4.1.0.
Installing System.AppContext 4.1.0.
Installing System.Linq 4.1.0.
Installing System.Reflection.Extensions 4.0.1.
Installing System.Net.Primitives 4.0.11.
Installing Microsoft.AspNetCore.Routing 2.0.0.
Installing System.Globalization 4.0.11.
Installing System.Diagnostics.Tracing 4.1.0.
Installing System.Reflection 4.1.0.
Installing System.Collections 4.0.11.
Installing System.Security.Cryptography.Primitives 4.0.0.
Installing System.Resources.ResourceManager 4.0.1.
Installing System.Security.Cryptography.Encoding 4.0.0.
Installing System.Threading.Tasks 4.0.11.
Installing System.Diagnostics.Debug 4.0.11.
Installing System.Runtime.Numerics 4.0.1.
Installing Microsoft.Win32.Primitives 4.0.1.
Installing System.IO.FileSystem 4.0.1.
Installing System.ObjectModel 4.0.12.
Installing System.IO.Compression 4.1.0.
Installing System.Security.Cryptography.X509Certificates 4.1.0.
Installing System.Security.Cryptography.Algorithms 4.2.0.
Installing System.Threading 4.0.11.
Installing System.Runtime.InteropServices.RuntimeInformation 4.0.0.
Installing System.Reflection.Primitives 4.0.1.
Installing System.Runtime.Handles 4.0.1.
Installing System.Xml.XDocument 4.0.11.
Installing Microsoft.AspNetCore.Server.Kestrel.Https 2.0.0.
Installing Microsoft.Extensions.Configuration.CommandLine 2.0.0.
Installing Microsoft.AspNetCore.MiddlewareAnalysis 2.0.0.
Installing System.Linq.Expressions 4.1.0.
Installing Microsoft.VisualStudio.Web.BrowserLink 2.0.0.
Installing System.Net.Http 4.1.0.
Installing System.Runtime.Extensions 4.1.0.
Installing Microsoft.AspNetCore.Server.IISIntegration 2.0.0.
Installing Microsoft.Extensions.Configuration.UserSecrets 2.0.0.
Installing System.Xml.ReaderWriter 4.0.11.
Installing System.Text.RegularExpressions 4.1.0.
Installing System.Runtime.InteropServices 4.1.0.
Installing Microsoft.AspNetCore.Diagnostics 2.0.0.
Installing System.Runtime 4.1.0.
Installing System.Text.Encoding 4.0.11.
Installing Microsoft.AspNetCore.Hosting 2.0.0.
Installing System.Text.Encoding.Extensions 4.0.11.
Installing Microsoft.Extensions.Options.ConfigurationExtensions 2.0.0.
Installing Microsoft.Extensions.Options 2.0.0.
Installing System.Threading.Thread 4.0.0.
Installing Microsoft.Extensions.Localization 2.0.0.
Installing Microsoft.Extensions.Hosting.Abstractions 2.0.0.
Installing Microsoft.Extensions.DependencyInjection.Abstractions 2.0.0.
Installing Microsoft.Extensions.Localization.Abstractions 2.0.0.
Installing System.Collections.NonGeneric 4.0.1.
Installing System.Diagnostics.FileVersionInfo 4.0.0.
Installing System.Diagnostics.Contracts 4.0.1.
Installing System.Reflection.Metadata 1.3.0.
Installing System.Collections.Immutable 1.2.0.
Installing System.Threading.ThreadPool 4.0.10.
Installing System.Reflection.TypeExtensions 4.1.0.
Installing System.Runtime.Loader 4.0.0.
Installing System.Diagnostics.TraceSource 4.0.0.
Installing Microsoft.Extensions.Logging.Abstractions 2.0.0.
Installing System.Xml.XPath.XmlDocument 4.0.1.
Installing System.Linq.Parallel 4.0.1.
Installing System.Threading.Tasks.Dataflow 4.6.0.
Installing System.Diagnostics.Process 4.1.0.
Installing System.IO.Pipes 4.0.0.
Installing System.Resources.Reader 4.0.0.
Installing System.Runtime.Serialization.Primitives 4.1.1.
Installing System.Resources.Writer 4.0.0.
Installing System.Xml.XPath 4.0.1.
Installing System.Runtime.Serialization.Xml 4.1.1.
Installing Microsoft.Extensions.Configuration.Ini 2.0.0.
Installing Microsoft.Extensions.Configuration.Binder 2.0.0.
Installing System.Runtime.CompilerServices.Unsafe 4.4.0.
Installing Microsoft.NETCore.DotNetAppHost 2.0.0.
Installing Microsoft.Extensions.DependencyInjection 2.0.0.
Installing Microsoft.Extensions.Configuration.Abstractions 2.0.0.
Installing System.Runtime.Handles 4.3.0.
Installing Microsoft.Extensions.FileProviders.Embedded 2.0.0.
Installing System.Globalization.Extensions 4.3.0.
Installing Microsoft.Extensions.Logging.AzureAppServices 2.0.0.
Installing Microsoft.Extensions.ObjectPool 2.0.0.
Installing Microsoft.CSharp 4.0.1.
Installing Microsoft.Extensions.Configuration.Xml 2.0.0.
Installing Microsoft.Extensions.Caching.Memory 2.0.0.
Installing Microsoft.Extensions.Configuration 2.0.0.
Installing Microsoft.Extensions.FileProviders.Composite 2.0.0.
Installing Microsoft.Extensions.DiagnosticAdapter 2.0.0.
Installing Microsoft.Extensions.Identity.Stores 2.0.0.
Installing Microsoft.Extensions.Identity.Core 2.0.0.
Installing Microsoft.Extensions.WebEncoders 2.0.0.
Installing Microsoft.Extensions.Logging 2.0.0.
Installing Microsoft.Net.Http.Headers 2.0.0.
Installing Microsoft.EntityFrameworkCore.Sqlite.Core 2.0.0.
Installing Microsoft.EntityFrameworkCore.InMemory 2.0.0.
Installing Microsoft.Extensions.Logging.TraceSource 2.0.0.
Installing Microsoft.AspNetCore.WebUtilities 2.0.0.
Installing Microsoft.AspNetCore.SpaServices 2.0.0.
Installing Microsoft.EntityFrameworkCore.Design 2.0.0.
Installing Microsoft.AspNetCore.StaticFiles 2.0.0.
Installing Microsoft.AspNetCore.ResponseCaching.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Razor.Runtime 2.0.0.
Installing Microsoft.AspNetCore.ResponseCompression 2.0.0.
Installing Microsoft.AspNetCore.Rewrite 2.0.0.
Installing Microsoft.AspNetCore.Session 2.0.0.
Installing Microsoft.AspNetCore.Razor 2.0.0.
Installing Microsoft.AspNetCore.Owin 2.0.0.
Installing Microsoft.AspNetCore.Server.Kestrel.Core 2.0.0.
Installing Microsoft.AspNetCore.Mvc.RazorPages 2.0.0.
Installing Microsoft.NETCore.Platforms 1.0.2.
Installing Microsoft.AspNetCore.Identity.EntityFrameworkCore 2.0.0.
Installing Microsoft.AspNetCore.Mvc.TagHelpers 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Cors 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Razor.Extensions 2.0.0.
Installing Microsoft.AspNetCore.Razor.Language 2.0.0.
Installing Microsoft.AspNetCore.ResponseCaching 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Formatters.Xml 2.0.0.
Installing Microsoft.AspNetCore.Http 2.0.0.
Installing Microsoft.AspNetCore.Http.Extensions 2.0.0.
Installing Microsoft.AspNetCore.Localization 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Formatters.Json 2.0.0.
Installing Microsoft.AspNetCore.HttpOverrides 2.0.0.
Installing Microsoft.AspNetCore.DataProtection.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Http.Features 2.0.0.
Installing Microsoft.AspNetCore.Identity 2.0.0.
Installing Microsoft.AspNetCore.Http.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Diagnostics.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Hosting.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Authentication.Twitter 2.0.0.
Installing Microsoft.AspNetCore.Html.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Mvc.ApiExplorer 2.0.0.
Installing System.Diagnostics.DiagnosticSource 4.3.0.
Installing Microsoft.AspNetCore.Mvc 2.0.0.
Installing Microsoft.AspNetCore.Cryptography.KeyDerivation 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Razor.ViewCompilation 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Localization 2.0.0.
Installing Microsoft.AspNetCore.Hosting.Server.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Authorization.Policy 2.0.0.
Installing Microsoft.AspNetCore.Authentication.Abstractions 2.0.0.
Installing Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore 2.0.0.
Installing Microsoft.AspNetCore.Authentication.Core 2.0.0.
Installing Microsoft.AspNetCore.Authorization 2.0.0.
Installing Microsoft.AspNetCore.Authentication.Facebook 2.0.0.
Installing Microsoft.AspNetCore.AzureAppServicesIntegration 2.0.0.
Installing Microsoft.AspNetCore.DataProtection.Extensions 2.0.0.
Installing Microsoft.Extensions.Logging.Configuration 2.0.0.
Installing Microsoft.Extensions.Logging.Debug 2.0.0.
Installing Microsoft.AspNetCore.Localization.Routing 2.0.0.
Installing Microsoft.AspNetCore.Cors 2.0.0.
Installing Microsoft.AspNetCore.Authentication 2.0.0.
Installing Microsoft.AspNetCore.CookiePolicy 2.0.0.
Installing System.IdentityModel.Tokens.Jwt 5.1.4.
Installing Microsoft.EntityFrameworkCore.Relational 2.0.0.
Installing Microsoft.AspNetCore.Authentication.Google 2.0.0.
Installing Microsoft.AspNetCore.Authentication.MicrosoftAccount 2.0.0.
Installing Microsoft.AspNetCore.Antiforgery 2.0.0.
Installing Microsoft.AspNetCore.Cryptography.Internal 2.0.0.
Installing Microsoft.AspNetCore.WebSockets 2.0.0.
Installing Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions 2.0.0.
Installing Microsoft.EntityFrameworkCore.Tools 2.0.0.
Installing Microsoft.Extensions.Logging.Console 2.0.0.
Installing Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv 2.0.0.
Installing Microsoft.AspNetCore.Server.HttpSys 2.0.0.
Installing Microsoft.AspNetCore.DataProtection 2.0.0.
Installing Microsoft.AspNetCore.Mvc.DataAnnotations 2.0.0.
Installing Microsoft.AspNetCore.AzureAppServices.HostingStartup 2.0.0.
Installing System.Diagnostics.Contracts 4.3.0.
Installing Microsoft.EntityFrameworkCore.SqlServer 2.0.0.
Installing Microsoft.AspNetCore.Authentication.Cookies 2.0.0.
Installing Microsoft.Extensions.Caching.SqlServer 2.0.0.
Installing Microsoft.Extensions.Caching.Redis 2.0.0.
Installing Microsoft.AspNetCore.JsonPatch 2.0.0.
Installing Microsoft.Extensions.Configuration.Json 2.0.0.
Installing Microsoft.AspNetCore.NodeServices 2.0.0.
Installing Microsoft.AspNetCore.Authentication.OAuth 2.0.0.
Installing Microsoft.AspNetCore.Mvc.ViewFeatures 2.0.0.
Installing Microsoft.CodeAnalysis.Razor 2.0.0.
Installing Microsoft.Extensions.Logging.EventSource 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Razor 2.0.0.
Installing Microsoft.Extensions.Configuration.AzureKeyVault 2.0.0.
Installing Microsoft.AspNetCore.Authentication.OpenIdConnect 2.0.0.
Installing Microsoft.Data.Sqlite.Core 2.0.0.
Installing Microsoft.AspNetCore.ApplicationInsights.HostingStartup 2.0.0.
Installing Microsoft.EntityFrameworkCore.Sqlite 2.0.0.
Installing Microsoft.AspNetCore.Authentication.JwtBearer 2.0.0.
Installing Microsoft.Data.Sqlite 2.0.0.
Installing Microsoft.AspNetCore.Mvc.Core 2.0.0.
Installing Microsoft.EntityFrameworkCore 2.0.0.
Installing Microsoft.Extensions.PlatformAbstractions 1.1.0.
Installing Microsoft.AspNetCore.DataProtection.AzureStorage 2.0.0.
Installing System.Diagnostics.DiagnosticSource 4.4.1.
Installing System.Security.Principal.Windows 4.4.0.
Installing System.Reflection.Metadata 1.5.0.
Installing System.ValueTuple 4.4.0.
Installing System.Diagnostics.DiagnosticSource 4.4.0.
Installing System.Security.Cryptography.Xml 4.4.0.
Installing System.ComponentModel.Annotations 4.4.0.
Installing System.Text.Encodings.Web 4.4.0.
Installing System.Buffers 4.4.0.
Installing System.Threading.Tasks.Extensions 4.4.0.
Installing Microsoft.CSharp 4.4.0.
Installing System.Numerics.Vectors 4.4.0.
Installing Microsoft.Win32.Registry 4.4.0.
Installing System.Data.SqlClient 4.4.0.
Installing StackExchange.Redis.StrongName 1.2.4.
Installing Newtonsoft.Json.Bson 1.0.1.
Installing Libuv 1.10.0.
Installing Microsoft.CodeAnalysis.CSharp 2.3.1.
Installing Microsoft.CodeAnalysis.Common 2.3.1.
Installing Microsoft.ApplicationInsights.AspNetCore 2.1.1.
Installing SQLitePCLRaw.core 1.1.7.
Installing System.Xml.XPath 4.3.0.
Installing Microsoft.IdentityModel.Protocols.OpenIdConnect 2.1.4.
Installing Microsoft.Azure.KeyVault 2.3.2.
Installing Microsoft.IdentityModel.Clients.ActiveDirectory 3.14.1.
Installing SQLitePCLRaw.bundle_green 1.1.7.
Installing Microsoft.Extensions.DependencyModel 2.0.0.
Installing System.Collections.Immutable 1.4.0.
Installing System.IO.Compression.ZipFile 4.3.0.
Installing Remotion.Linq 2.1.1.
Installing System.Interactive.Async 3.1.1.
Installing WindowsAzure.Storage 8.1.4.
Installing System.Security.AccessControl 4.4.0.
Installing System.Security.Principal.Windows 4.3.0.
Installing runtime.native.System.Data.SqlClient.sni 4.4.0.
Installing runtime.native.System.Net.Security 4.3.0.
Installing System.Security.Principal 4.3.0.
Installing System.Text.Encoding.CodePages 4.4.0.
Installing System.Security.Claims 4.3.0.
Installing System.Threading.Timer 4.3.0.
Installing Microsoft.Win32.Primitives 4.3.0.
Installing System.Threading.ThreadPool 4.3.0.
Installing System.Threading.Thread 4.3.0.
Installing System.Buffers 4.3.0.
Installing runtime.native.System.IO.Compression 4.3.0.
Installing System.Collections.Concurrent 4.3.0.
Installing System.Net.Primitives 4.3.0.
Installing System.Security.Cryptography.Algorithms 4.3.0.
Installing System.Security.Cryptography.X509Certificates 4.3.0.
Restore completed in 15.79 sec for /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/app.csproj.
Installing System.Runtime.InteropServices.RuntimeInformation 4.3.0.
Installing System.Net.Sockets 4.3.0.
Installing System.IO.Compression 4.3.0.
Installing System.Net.Security 4.3.0.
Installing System.Net.NameResolution 4.3.0.
Installing NETStandard.Library 1.6.1.
Installing System.AppContext 4.3.0.
Installing System.Console 4.3.0.
Installing System.Diagnostics.FileVersionInfo 4.3.0.
Installing System.Collections.Immutable 1.3.1.
Installing System.ValueTuple 4.3.0.
Installing System.Reflection.Metadata 1.4.2.
Installing Microsoft.CodeAnalysis.Analyzers 1.1.0.
Installing System.Security.Cryptography.Encoding 4.3.0.
Installing System.Diagnostics.StackTrace 4.3.0.
Installing System.Globalization.Calendars 4.3.0.
Installing System.Text.Encoding.CodePages 4.3.0.
Installing System.Threading.Tasks.Parallel 4.3.0.
Installing System.Xml.XPath.XDocument 4.3.0.
Installing System.Text.Encodings.Web 4.3.1.
Installing Microsoft.ApplicationInsights 2.4.0.
Installing Microsoft.ApplicationInsights.DependencyCollector 2.4.1.
Installing Microsoft.IdentityModel.Protocols 2.1.4.
Installing Microsoft.Rest.ClientRuntime.Azure 3.3.7.
Installing Microsoft.Rest.ClientRuntime 2.3.8.
Installing System.Net.Http 4.3.0.
Installing Microsoft.Azure.KeyVault.WebKey 2.0.7.
Installing System.Security.Cryptography.Cng 4.3.0.
Installing System.Runtime.Serialization.Json 4.0.2.
Installing SQLitePCLRaw.lib.e_sqlite3.osx 1.1.7.
Installing Newtonsoft.Json 9.0.1.
Installing SQLitePCLRaw.lib.e_sqlite3.linux 1.1.7.
Installing SQLitePCLRaw.lib.e_sqlite3.v110_xp 1.1.7.
Installing SQLitePCLRaw.provider.e_sqlite3.netstandard11 1.1.7.
Installing Microsoft.DotNet.PlatformAbstractions 2.0.0.
Installing System.Linq.Queryable 4.0.1.
Installing System.Spatial 5.8.2.
Installing Microsoft.Data.OData 5.8.2.
Installing runtime.win-x86.runtime.native.System.Data.SqlClient.sni 4.4.0.
Installing runtime.win-arm64.runtime.native.System.Data.SqlClient.sni 4.4.0.
Installing runtime.win-x64.runtime.native.System.Data.SqlClient.sni 4.4.0.
Installing System.Diagnostics.Tracing 4.3.0.
Installing System.Security.Cryptography.Primitives 4.3.0.
Installing runtime.native.System.Security.Cryptography.Apple 4.3.0.
Installing runtime.native.System.Security.Cryptography.OpenSsl 4.3.0.
Installing runtime.native.System 4.3.0.
Installing runtime.native.System.Net.Http 4.3.0.
Installing System.Security.Cryptography.OpenSsl 4.3.0.
Installing System.Security.Cryptography.Csp 4.3.0.
Generating MSBuild file /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/obj/app.csproj.nuget.g.props.
Generating MSBuild file /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/obj/app.csproj.nuget.g.targets.
Restore completed in 17.93 sec for /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/app.csproj.
app -> /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/bin/Release/netcoreapp2.0/app.dll
app -> /tmp/workspace/basic-dotnet-core-build/basic-dotnet-core-build-basic-dotnet-core-pipeline/app/bin/Release/netcoreapp2.0/publish/
[Pipeline] }
[Pipeline] // dir
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build Container Image)
[Pipeline] echo
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfNotWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
[Pipeline] echo
Start & Follow Build
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[logs:build/basic-dotnet-core-1] Receiving source from STDIN as archive ...
[logs:build/basic-dotnet-core-1] Caching blobs under "/var/cache/blobs".
[logs:build/basic-dotnet-core-1] Getting image source signatures
[logs:build/basic-dotnet-core-1] Copying blob sha256:1568bf6457e51068ac639e8d01c5088822c5c3d599a6eee92e1c149ddaa4f95d
[logs:build/basic-dotnet-core-1] Copying blob sha256:ad8abb32d48927656a09dcffec1d9c321498e63594fc5f93e4e7dee7f1a59e00
[logs:build/basic-dotnet-core-1] Copying blob sha256:7585ac2ccc88be34436e1572c0dab8e18a311e6ab3018c39e16c1c845033dcc9
[logs:build/basic-dotnet-core-1] Copying config sha256:8a06315aa25c2cdef9303bfa760d1bf81a3a214a636cfd2b73235e20f8ac05f8
[logs:build/basic-dotnet-core-1] Writing manifest to image destination
[logs:build/basic-dotnet-core-1] Storing signatures
[logs:build/basic-dotnet-core-1] Generating dockerfile with builder image image-registry.openshift-image-registry.svc:5000/openshift/dotnet-runtime@sha256:66e60b9b4386843055d3c062337538b3cd292bf9d0571a2f805ca4a562d9efcc
[logs:build/basic-dotnet-core-1] STEP 1: FROM image-registry.openshift-image-registry.svc:5000/openshift/dotnet-runtime@sha256:66e60b9b4386843055d3c062337538b3cd292bf9d0571a2f805ca4a562d9efcc
[logs:build/basic-dotnet-core-1] STEP 2: LABEL "io.openshift.build.image"="image-registry.openshift-image-registry.svc:5000/openshift/dotnet-runtime@sha256:66e60b9b4386843055d3c062337538b3cd292bf9d0571a2f805ca4a562d9efcc" "io.openshift.build.source-location"="/tmp/build/inputs"
[logs:build/basic-dotnet-core-1] STEP 3: ENV OPENSHIFT_BUILD_NAME="basic-dotnet-core-1" OPENSHIFT_BUILD_NAMESPACE="basic-dotnet-core-build"
[logs:build/basic-dotnet-core-1] STEP 4: USER root
[logs:build/basic-dotnet-core-1] STEP 5: COPY upload/src /tmp/src
[logs:build/basic-dotnet-core-1] STEP 6: RUN chown -R 1001:0 /tmp/src
[logs:build/basic-dotnet-core-1] time="2019-10-21T12:33:23Z" level=warning msg="pkg/chroot: error unmounting "/tmp/buildah024053613/mnt/rootfs": error checking if "/tmp/buildah024053613/mnt/rootfs/sys/fs/cgroup/memory" is mounted: no such file or directory"
[logs:build/basic-dotnet-core-1] time="2019-10-21T12:33:23Z" level=warning msg="pkg/bind: error unmounting "/tmp/buildah024053613/mnt/rootfs": error checking if "/tmp/buildah024053613/mnt/rootfs/sys/fs/cgroup/memory" is mounted: no such file or directory"
[logs:build/basic-dotnet-core-1] STEP 7: USER 1001
[logs:build/basic-dotnet-core-1] STEP 8: RUN /usr/libexec/s2i/assemble
[logs:build/basic-dotnet-core-1] ---> Installing application...
[logs:build/basic-dotnet-core-1] Using pre-built application with entrypoint assembly: ./app.dll
[logs:build/basic-dotnet-core-1] time="2019-10-21T12:33:25Z" level=warning msg="pkg/chroot: error unmounting "/tmp/buildah317762862/mnt/rootfs": error checking if "/tmp/buildah317762862/mnt/rootfs/sys/fs/cgroup/memory" is mounted: no such file or directory"
[logs:build/basic-dotnet-core-1] time="2019-10-21T12:33:25Z" level=warning msg="pkg/bind: error unmounting "/tmp/buildah317762862/mnt/rootfs": error checking if "/tmp/buildah317762862/mnt/rootfs/sys/fs/cgroup/memory" is mounted: no such file or directory"
[logs:build/basic-dotnet-core-1] STEP 9: CMD /usr/libexec/s2i/run
[logs:build/basic-dotnet-core-1] STEP 10: COMMIT temp.builder.openshift.io/basic-dotnet-core-build/basic-dotnet-core-1:f3ec247b
[logs:build/basic-dotnet-core-1] Getting image source signatures
[logs:build/basic-dotnet-core-1] Copying blob sha256:cd645bd4dc85e1b186e44775794bc5c015fb117710a39456e98f82b7f16d062c
[logs:build/basic-dotnet-core-1] Copying blob sha256:e9f742d619c971e977d93851919cbe69990cf5849a0342cee6c1d878b95105ba
[logs:build/basic-dotnet-core-1] Copying blob sha256:eb6cd7c310ad5644d1e5ed930c81464ac36ab7a008cc50f699e65c2935ba436f
[logs:build/basic-dotnet-core-1] Copying blob sha256:37752441bbba8928b00840442db3d1a374de2fe56c4a2bf6633fbda0f961f668
[logs:build/basic-dotnet-core-1] Copying config sha256:0bb476b048cef3a994b87cfa76e8fae1a29b2c11a21d2c8c6fac2f51f00f3e5b
[logs:build/basic-dotnet-core-1] Writing manifest to image destination
[logs:build/basic-dotnet-core-1] Storing signatures
[logs:build/basic-dotnet-core-1] 0bb476b048cef3a994b87cfa76e8fae1a29b2c11a21d2c8c6fac2f51f00f3e5b
[logs:build/basic-dotnet-core-1]
[logs:build/basic-dotnet-core-1] Pushing image image-registry.openshift-image-registry.svc:5000/basic-dotnet-core-build/basic-dotnet-core:latest ...
[logs:build/basic-dotnet-core-1] Getting image source signatures
[logs:build/basic-dotnet-core-1] Copying blob sha256:7585ac2ccc88be34436e1572c0dab8e18a311e6ab3018c39e16c1c845033dcc9
[logs:build/basic-dotnet-core-1] Copying blob sha256:1568bf6457e51068ac639e8d01c5088822c5c3d599a6eee92e1c149ddaa4f95d
[logs:build/basic-dotnet-core-1] Copying blob sha256:ad8abb32d48927656a09dcffec1d9c321498e63594fc5f93e4e7dee7f1a59e00
[logs:build/basic-dotnet-core-1] Copying blob sha256:37752441bbba8928b00840442db3d1a374de2fe56c4a2bf6633fbda0f961f668
[logs:build/basic-dotnet-core-1] Copying config sha256:0bb476b048cef3a994b87cfa76e8fae1a29b2c11a21d2c8c6fac2f51f00f3e5b
[logs:build/basic-dotnet-core-1] Writing manifest to image destination
[logs:build/basic-dotnet-core-1] Storing signatures
[logs:build/basic-dotnet-core-1] Push successful
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Promote from Build to Dev)
[Pipeline] echo
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Verify Deployment to Dev)
[Pipeline] echo
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfNotWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcWatch
Entering watch
Checking watch output and running watch closure again in 250ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 300ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 360ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 432ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned true; terminating watch
[Pipeline] // _OcWatch
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Promote from Dev to Stage)
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Verify Deployment to Stage)
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfNotWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcWatch
Entering watch
Checking watch output and running watch closure again in 250ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 300ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 360ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 432ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned true; terminating watch
[Pipeline] // _OcWatch
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Promotion gate)
[Pipeline] script
[Pipeline] {
[Pipeline] input
Promote application to Production?
Proceed or Abort
Approved by mathianasj
[Pipeline] }
[Pipeline] // script
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Promote from Stage to Prod)
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Verify Deployment to Prod)
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfNotWithin but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] _OcContextInit
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcWatch
Entering watch
Checking watch output and running watch closure again in 250ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 300ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 360ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned false
Checking watch output and running watch closure again in 432ms
Running watch closure body
[Pipeline] {
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
expected to call com.openshift.jenkins.plugins.OpenShiftDSL.dieIfWithout but wound up catching com.openshift.jenkins.plugins.OpenShiftDSL.contextContains; see: https://jenkins.io/redirect/pipeline-cps-method-mismatches/
[Pipeline] readFile
[Pipeline] _OcAction
[Pipeline] }
watch closure returned true; terminating watch
[Pipeline] // _OcWatch
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
Finished: SUCCESS
Is there a relevant Issue open for this?
#96
Who would you like to review this?
cc: @redhat-cop/containers-approvers